-
Notifications
You must be signed in to change notification settings - Fork 0
authOAuth2FieldsFormat
BlackMagnusSon edited this page Oct 14, 2020
·
1 revision
In addition to general validation, it is verified that expiration is in the future.
Error on sending HTTP request to /authorize endpoint
Error reading body of HTTP response to request to /authorize endpoint
Response status code is not 200
Response body format is not compliant with the spec https://www.tradingview.com/rest-api-spec/#operation/authorize
- response body is not a JSON data
- the "s" field is not equal to "ok"
- "access_token" field is empty string or missing
- "expiration" field is not a number
- "expiration" field is not an integer number
Expiration time of the token is wrong (is not in the future)