invalid-token-request
| Status | 400 |
| Title | Invalid token request |
| Code | invalid-token-request |
| Type | https://docs.satellitedata.net/problems/invalid-token-request |
Coming later This problem belongs to OAuth 2.0 tokens, which lean v1 does not have yet.
Meaning
Section titled “Meaning”A request to POST /oauth/token is malformed.
Likely causes
Section titled “Likely causes”- An unsupported
grant_type. - A missing client id or secret.
- A body that is not
application/x-www-form-urlencoded.
Send grant_type=client_credentials with the client id and key secret in HTTP Basic or in the form body. The problem also carries the OAuth members error and error_description.
Example
Section titled “Example”The detail is the example from the v1 contract.
{ "type": "https://docs.satellitedata.net/problems/invalid-token-request", "title": "Invalid token request", "status": 400, "detail": "grant_type must be client_credentials.", "instance": "/v1/...", "code": "invalid-token-request", "requestId": "01JQ7Z3M8R5V2W6X9Y0A1B2C3D"}See Errors for the members every problem carries.