Usage of errors/{id}
Discussion
This method allows you to generate an error.
This method is only intended for use when testing an application or library. Unlike other methods in the API, its contract is not frozen, and new error codes may be added at any time.
The defined error codes are as follows:
- NotFound = 404
- InternalServerError = 500
- InvalidApplicationPublicKey = 4000
- InvalidPageSize = 4001
- InvalidSort = 4002
- InvalidOrder = 4003
- RequestLimitExceeded = 4004
- InvalidVectorFormat = 4005
- TooManyIds = 4006
- UnconstrainedSearch = 4007
- InvalidTags = 4008
- InvalidAuthToken = 4009
- TooManyTags = 4010
- InvalidPeriod = 4011
- Offline = 9999
Parameters
- id – id of the error to simulate
- 32-bit signed integer