You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Lynch Lee (JIRA)" <ji...@apache.org> on 2016/11/12 07:19:58 UTC

[jira] [Commented] (USERGRID-1178) Making a PUT request to /token endpoints returns a 500 Internal Server Error

    [ https://issues.apache.org/jira/browse/USERGRID-1178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15659204#comment-15659204 ] 

Lynch Lee commented on USERGRID-1178:
-------------------------------------

@ [~brandonshelley]

> 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)