Error Messages: /oauth2/token
Every request to POST /v1/oauth2/token that returns HTTP 400, with the error key and the message for each case.
This page lists the requests to POST /v1/oauth2/token that return HTTP 400, with the error key and the message for each case. The endpoint is documented on Authentication. The conventions for these tables and the errors that several endpoints share are on Error Messages by Endpoint.
| Trigger | Format | Error key | Message |
|---|---|---|---|
appKey missing, null, or empty | A | AppKey | The AppKey field is required. |
appSecret missing, null, or empty | A | AppSecret | The AppSecret field is required. |
Empty or null body | A | "" | A non-empty request body is required. |
Empty or null body | A | command | The command field is required. |
Unknown appKey, or appSecret does not match | B | "" | please check your keys |
appSecret is not in a valid format | B | "" | Keys validation failed either AppKey or AppSecret is invalid |
Invalid credentials return 400, not 401. An empty or null body returns both the "" and command errors in one response.
Updated about 17 hours ago
Did this page help you?

