Open API Docs
Errors and Best Practices
Admin
2026/4/3
4 阅读
Errors and Best Practices
Common error codes
400: invalid parameters401: missing or invalid authentication404: resource not found500: server-side failure
Troubleshooting checklist
- Verify that the signing parameters are complete.
- Verify that the private key matches the current user.
- Verify that the timestamp is within the allowed time window.
- Verify that JSON body hashing uses the exact payload sent.
- Verify that referenced IDs actually exist.
Integration recommendations
- Keep private keys only on the server side.
- Add timeout, retry, and structured logging around API requests.
- Record request body digests for
POSTandPUTto simplify signature debugging. - Centralize signing logic in production instead of implementing it in multiple services.
