Error CodesΒΆ
When the Ning API is unable to return a succesful response, it will return an error code. The table bellow is a reference for every error code, subcode, and HTTP status.
| Group | Error | HTTP Status | Code | Subcode |
|---|---|---|---|---|
| Unknown | Internal error | 500 Internal Server Error | 0 | 0 |
| Authorization | Internal error | 500 Internal Server Error | 1 | 0 |
| Authorization | Bogus authorization header | 400 Bad Request | 1 | 1 |
| Authorization | Invalid username or password | 401 Unauthorized | 1 | 2 |
| Authorization | Invalid credentials | 401 Unauthorized | 1 | 3 |
| Authorization | Additional authorization required | 401 Unauthorized | 1 | 4 |
| Authorization | Consumer key refused | 401 Unauthorized | 1 | 5 |
| Authorization | Consumer key rejected | 401 Unauthorized | 1 | 6 |
| Authorization | Consumer key unknown | 401 Unauthorized | 1 | 7 |
| Authorization | Nonce used | 401 Unauthorized | 1 | 8 |
| Authorization | Parameter absent | 400 Bad Request | 1 | 9 |
| Authorization | Permission denied | 401 Unauthorized | 1 | 10 |
| Authorization | Permission unknown | 401 Unauthorized | 1 | 11 |
| Authorization | Signature invalid | 401 Unauthorized | 1 | 12 |
| Authorization | Method rejected | 400 Bad Request | 1 | 13 |
| Authorization | Timestamp refused | 401 Unauthorized | 1 | 14 |
| Authorization | Token expired | 401 Unauthorized | 1 | 15 |
| Authorization | Token rejected | 401 Unauthorized | 1 | 16 |
| Authorization | Token revoked | 401 Unauthorized | 1 | 17 |
| Authorization | Token used | 401 Unauthorized | 1 | 18 |
| Authorization | User refused | 401 Unauthorized | 1 | 19 |
| Authorization | Version rejected | 400 Bad Request | 1 | 20 |
| Authorization | Parameter rejected | 400 Bad Request | 1 | 21 |
| Authorization | Missing basic authentication | 401 Unauthorized | 1 | 22 |
| Authorization | Invalid user name | 401 Unauthorized | 1 | 23 |
| Authorization | Invalid password | 401 Unauthorized | 1 | 24 |
| RequestMetadata | Internal error | 500 Internal Server Error | 2 | 0 |
| RequestMetadata | Network not found | 404 Not Found | 2 | 1 |
| RequestMetadata | Resource not found | 404 Not Found | 2 | 2 |
| RequestMetadata | Bogus params | 400 Bad Request | 2 | 3 |
| RequestMetadata | User not allowed | 403 Forbidden | 2 | 4 |
| Content | Internal error | 500 Internal Server Error | 3 | 0 |
| Content | Content not found | 404 Not Found | 3 | 1 |
| Content | Bogus value | 400 Bad Request | 3 | 2 |
| Content | Unavailable | 503 Service Unavailable | 3 | 3 |
| Query | Bogus field | 400 Bad Request | 4 | 1 |
| Query | Bad parameter | 400 Bad Request | 4 | 2 |
| Update | Internal error | 500 Internal Server Error | 5 | 0 |
| Update | Disabled | 403 Forbidden | 5 | 1 |
| Update | Forbidden | 403 Forbidden | 5 | 2 |
| Update | Bad key | 400 Bad Request | 5 | 3 |
| Update | Needs captcha | 403 Forbidden | 5 | 4 |
| Update | Spammy | 400 Bad Request | 5 | 5 |
| Update | Soft blocked | 503 Service Unavailable | 5 | 6 |
| Update | Bad content id | 400 Bad Request | 5 | 7 |
| Update | Bad title | 400 Bad Request | 5 | 8 |
| Update | Bad description | 400 Bad Request | 5 | 9 |
| Update | Bad timestamp | 400 Bad Request | 5 | 10 |
| Update | Bad type | 400 Bad Request | 5 | 11 |
| Update | Bad object | 400 Bad Request | 5 | 12 |
| Update | Bad comment | 400 Bad Request | 5 | 13 |
| Update | Bad mime type | 400 Bad Request | 5 | 14 |
| Update | Cant add | 403 Forbidden | 5 | 15 |
| Update | Too big | 400 Bad Request | 5 | 16 |
| Update | File missing | 400 Bad Request | 5 | 17 |
| Update | Feature failure | 500 Internal Server Error | 5 | 18 |
| Update | Not moderator | 403 Forbidden | 5 | 19 |
| Update | Not logged in | 403 Forbidden | 5 | 20 |
| Update | Not admin | 403 Forbidden | 5 | 21 |
| Update | Unknow user | 400 Bad Request | 5 | 22 |
| Update | Not found | 404 Not Found | 5 | 23 |
| Update | Not member | 403 Forbidden | 5 | 24 |