diff --git a/awx/ui/client/src/shared/Utilities.js b/awx/ui/client/src/shared/Utilities.js index 09e0b1c867..a79f46a076 100644 --- a/awx/ui/client/src/shared/Utilities.js +++ b/awx/ui/client/src/shared/Utilities.js @@ -154,11 +154,10 @@ angular.module('Utilities', ['RestServices', 'Utilities']) $log.debug('Debug: ' + defaultMsg.msg); } if (status === 403) { - msg = 'The API responded with a 403 Access Denied error. '; if (data && data.detail) { - msg += 'Detail: ' + data.detail; + msg = data.detail; } else { - msg += 'Please contact your system administrator.'; + msg = 'The API responded with a 403 Access Denied error. Please contact your system administrator.'; } Alert(defaultMsg.hdr, msg); } else if (status === 409) {