Description
When calling PUT /revoketoken?token=xxxx on a non-existent user, e.g.:
PUT https://api-connectors-prod.apigee.net/appservices/api-connectors/sdksandbox/users/asdf/revoketoken?token=xxxx
This error is returned:
500 Internal Server Error { "error": "uncaught", "timestamp": 1452306713472, "duration": 0, "error_description": "Internal Server Error", "exception": "org.apache.usergrid.rest.exceptions.UncaughtException", "error_id": "251e782b-b679-11e5-abcb-12aee0c06a45" }
This should throw a 400 and the description should be improved somewhat to mirror USERGRID-1201
Attachments
Issue Links
- is a clone of
-
USERGRID-1201 Error returned when calling /revoketokens on non-existent user should be improved
- Open