All requests to the token endpoint return various standard HTTP headers, including the response status code, and a response body in JSON format.
...
HTTP/1.1 CODE MESSAGE
Content-Type: application/json; charset=utf-8
Content-Length: 7
The response body contains either the requested information or an error message:
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "error": "invalid_scope", "error_description": "\"newvoicemediavonage/api/stats\" is an invalid scope" } |
...