Overview
Shinami APIs generally use the JSON-RPC 2.0 standard. HTTP and JSON-RPC error codes you may receive when interacting with our services are listed below, along with service-specific errors. We have a lot of helpful content below, but if you don’t find an answer to your question you can reach out to us.General Error Codes
HTTP Errors
All of our services return standard HTTP codes including (but not limited to):JSON-RPC Errors
For JSON-RPC errors, Shinami returnsHTTP 200 with the JSON-RPC error in the JSON response. Common errors across our services include:
Other Errors
You may see the following errors when using our Shinami Clients SDK.Aptos: service-specific error codes
Aptos Gas Station API
In addition to the general error codes listed above, the following codes are returned by our Gas Station API. Note that you may see additional errors beyond what’s listed below. JSON-RPC errors
Other errors
Aptos Invisible Wallet API
In addition to the general error codes listed above, the following codes are returned by our Invisible Wallet API. Invisible Wallet requests that require an access key with Gas Station rights can also return any of the Aptos Gas Station errors, as we’ll propagate those back to you if there is a Gas Station error as a part of processing your request. Note that you may see additional errors beyond what’s listed below. JSON-RPC errorsExample JSON-RPC Errors
Below are two example requests and their associated JSON-RPC error responses, one using cURL and one using our Shinami Clients TypeScript SDK. Replace all instances of{{name}} with the actual value for that name
Movement: service-specific error codes
Movement Gas Station API
In addition to the general error codes listed above, the following codes are returned by our Gas Station API. Note that you may see additional errors beyond what’s listed below. JSON-RPC errors
Other errors
Movement Invisible Wallet API
In addition to the general error codes listed above, the following codes are returned by our Invisible Wallet API. Invisible Wallet requests that require an access key with Gas Station rights can also return any of the Movement Gas Station errors, as we’ll propagate those back to you if there is a Gas Station error as a part of processing your request. Note that you may see additional errors beyond what’s listed below. JSON-RPC errorsExample JSON-RPC Errors
Below are two example requests and their associated JSON-RPC error responses, one using cURL and one using our Shinami Clients TypeScript SDK. Replace all instances of{{name}} with the actual value for that name
Sui: service-specific error codes
Sui Gas Station API
In addition to the general error codes listed above, the following codes are returned by our Gas Station API. Note that you may see additional errors beyond what’s listed below. JSON-RPC errors
Other errors
Sui Invisible Wallet API
In addition to the general error codes listed above, the following codes are returned by our Invisible Wallet API. Invisible Wallet requests that require an access key with Gas Station rights can also return any of the Sui Gas Station errors, as we’ll propagate those back to you if there is a Gas Station error as a part of processing your request. Note that you may see additional errors beyond what’s listed below. JSON-RPC errorsSui zkLogin wallet API
In addition to the general error codes listed above, the following codes are returned by our zkLogin wallet API. Note that you may see additional errors beyond what’s listed below. JSON-RPC errorsExample JSON-RPC errors
Below are two example JSON-RPC error responses - one using cURL and one using our Shinami Clients TypeScript SDK. Replace all instances of{{name}} with the actual value for that name