Page History
...
To call a method, an app will need to pass an authentication token on behalf of the user (either a normal user or a bot).
For normal users, you receive this token in the app.install event.
...
Error Code | HTTP Status | Description | Additional Attributes | |
---|---|---|---|---|
InvalidRequestData | 400 | The request was malformed | ||
InvalidParameter | 400 | A parameter for the method call is missing or invalid |
| |
MissingUserToken | 400 | Missing user token in the method request | ||
InvalidUserToken | InvalidToken | 403 | An invalid user authentication token was sent with the request | |
AppDisabled | 403 | App has been disabled for this user |
| |
NoSuchMethod | 404 | The method named in the request URL does not exist | ||
HTTPMethodNotAllowed | 405 | An HTTP method other than POST was used | ||
RequestTimeout | 408 | A timeout occured before the server could receive the complete request from the app | ||
TooManyRequests | 429 | Rate limit reached | ||
InternalServerError | 500 | An unexpected condition was encountered | ||
ServiceUnavailable | 503 | The API service is unavailable at this time |