diff --git a/static/js/app.js b/static/js/app.js index 0ecbb8842..d6831427d 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -61,7 +61,7 @@ function getFirstTextLine(commentString) { function createRobotAccount(ApiService, is_org, orgname, name, callback) { ApiService.createRobot(is_org ? orgname : null, null, {'robot_shortname': name}).then(callback, function(resp) { bootbox.dialog({ - "message": resp.data ? resp.data : 'The robot account could not be created', + "message": resp.data ? resp.data['message'] : 'The robot account could not be created', "title": "Cannot create robot account", "buttons": { "close": {