Skip to content

Errors

Common Error Types

Error Types Description
APIKeyException Preceded by a 403 status code, this indicates the expiry or invalidation of an API Key.
TokenException Preceded by a 401 status code, this indicated the missing, expiry or invalidation of JWT token.
InputException Preceded by a 400 status code, Represents missing required fields, bad values for parameters etc.
MiraeException Represent the error response received from mStock's API.
GeneralException Represents an Internal server error occured while processing the API request. This should only happen rarely.