[ https://issues.apache.org/jira/browse/USERGRID-1178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15659216#comment-15659216 ]
Brandon Shelley commented on USERGRID-1178: ------------------------------------------- I think this should be patched. [~mrusso] can you confirm? > Making a PUT request to /token endpoints returns a 500 Internal Server Error > ---------------------------------------------------------------------------- > > Key: USERGRID-1178 > URL: https://issues.apache.org/jira/browse/USERGRID-1178 > Project: Usergrid > Issue Type: Bug > Components: Stack > Affects Versions: 2.1.0 > Reporter: Brandon Shelley > Priority: Minor > > When making a PUT request with a working token request body (instead of a > POST) Usergrid throws a 500 back instead of a 400 bad request. > E.g.: > {code}PUT > https://api-connectors-prod.apigee.net/appservices/api-connectors/sdksandbox/token > {"username": "someuser", "password": "mypassword", "grant_type": > "password"}{code} > Returns: > {code}{ > "error": "uncaught", > "timestamp": 1449686731484, > "duration": 0, > "error_description": "Internal Server Error", > "exception": "org.apache.usergrid.rest.exceptions.UncaughtException", > "error_id": "062971c8-9ea5-11e5-b0d4-12aee0c06a45" > }{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)