Error handling
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.
2.
3.
Error Response Format
Best Practices
1.
2.
3.
4.
5.
Modified at 2025-03-26 06:51:59