Nuro API Error Handling Guide#
Error Categories#
1. System Errors#
Status | Type | Description |
---|
500 | api_error | API system error, please contact administrator |
2. Authentication Errors#
Status | Type | Description |
---|
401 | unauthorized | Invalid signature |
401 | unauthorized | Authorization expired |
403 | forbidden | API usage limit exceeded |
403 | forbidden | API QPS limit exceeded |
3. Content Errors#
Status | Type | Description |
---|
500 | api_error | Algorithm error |
404 | not_found | Task not found |
400 | bad_request | Input language not supported |
500 | api_error | Semantic error, please try again |
4. Resource Errors#
Status | Type | Description |
---|
403 | forbidden | Queue is full |
Credit Refund Mechanism#
Error Types Triggering Refund#
Refund Process#
1.
Check response status code
2.
Task not marked as processed
Error type qualifies for refund
User credit deduction record exists
Best Practices#
1.
Always check API response status
2.
Implement error retry mechanism
3.
Maintain detailed error logs
4.
Handle credit refund notifications properly
5.
Provide clear error messages to users
Modified at 2025-07-14 08:34:40