Skip to content
Stove Website

Error Codes ​

These error codes are returned by the API when a request fails to pass validation or is blocked due to account, market, or business rule constraints. Use these codes to understand and debug rejection reasons.

Authentication Errors ​

Error Code Reference ​

All API responses follow a standard JSON error format for non-2xx status codes:

json
{ "code": 10010008, "message": "Signature verification failed" }
CodeMessageDescriptionSolution
10010008Signature verification failedSignature does not matchCheck signature generation logic, ensure parameters are consistent; for non-Maker API endpoints, verify the Maker Address position is empty in the signature string
10010009API key not foundAPI key does not existVerify API key is correct
10010010API key expiredAPI key has expiredContact administrator to renew API key
10010011Timestamp expiredRequest timestamp outside allowed rangeEnsure system time is synchronized, regenerate timestamp
10010012Missing required headerMissing authentication headerEnsure all required headers are included; Maker API endpoints must include X-Maker-Addr
10010013Invalid maker addressMaker address is invalid or not authorizedVerify the X-Maker-Addr header is correct and authorized
10010014Permission deniedInsufficient permissionsMaker API endpoints missing X-Maker-Addr header, or API Key lacks access to this resource

Market Data Errors ​

Error Code Reference ​

All API responses follow a standard JSON error format for non-2xx status codes:

json
{
	"code": 13010000,
	"message": "Method Not Allowed"
}
CodeHTTP StatusMessageDescription
13010000405Method Not AllowedThe HTTP method used in the request is not allowed, or used wrong ContentType
13010001400Invalid argument(s)One or more arguments provided in the request are invalid or missing.
13010011404Resource not foundTThe requested resource does not exist, or the request path is incorrect.
13010012500Internal server errorAn unexpected error occurred on the server while processing the request.
13010013500Internal server error, wrong http statusAn unexpected error occurred while processing the request on the server, resulting in an abnormal HTTP status being returned.
13010015401The client's IP address is not in the whitelistThe IP whitelist has been enabled, and the IP address currently being called is not in the whitelist.
1310017429Too many requestsRequests are too frequent or exceed the allocated entitlement quota.

Risk Errors ​

Error Code Reference ​

All API responses follow a standard JSON error format for non-2xx status codes:

json
{
	"code": 19010012,
	"message": "Internal server error",
	"detail": ""
}
CodeMessageDescription
19010012Internal server errorGeneric request or business parameter error.
19010018Unsupported media typeFailed to parse amount, address, token, etc.

Instant Swap API Errors (On-Chain) ​

ErrorDescription
InvalidSignature()Signature invalid, or signer not authorized.
QuoteExpired()Quote has expired.
QuoteAlreadyUsed()Quote already used (replay protection).
UnauthorizedCaller()Calling contract not on the whitelist.
AssetTokenNotWhitelisted()Asset token not whitelisted.
StockTokenNotRegistered()StockToken not registered in the manager.
ChainIdMismatch()Chain ID mismatch.
ZeroAddress()Address is zero.
InvalidQuantity()Quantity is zero.