Free tool
API error codes
Why join Torning?
Tired of copying and pasting? Let Torning do it live.
These free tools let you test everything by hand without an API key. When you join with a free Torning account, your battle stats, travel alarms, bank deposits, vault queues and war rooms sync automatically with zero manual entry.
What they mean
32 codes
Torn answers a failed call with one of these codes. Torn allows 100 calls a minute for each player, across all of their keys.
Key problem
5
Retry later
6
Fix the request
21
of 32 codes
| Code | Meaning | What to do |
|---|---|---|
| 0 | Unknown error | Fix the request |
| 1 | Empty key | Fix the request |
| 2 | Incorrect key | Key problem |
| 3 | Wrong type | Fix the request |
| 4 | Wrong fields | Fix the request |
| 5 | Too many requests | Retry later |
| 6 | Incorrect ID | Fix the request |
| 7 | ID not related to key | Fix the request |
| 8 | IP blocked | Retry later |
| 9 | API disabled | Retry later |
| 10 | Owner in federal jail | Key problem |
| 11 | Key change error | Fix the request |
| 12 | Key read error | Fix the request |
| 13 | Key disabled (inactivity) | Key problem |
| 14 | Daily read limit | Retry later |
| 15 | Temporary error | Retry later |
| 16 | Access level too low | Key problem |
| 17 | Backend error | Retry later |
| 18 | Key paused by owner | Key problem |
| 19 | Must migrate to Crimes 2.0 | Fix the request |
| 20 | Race not finished | Fix the request |
| 21 | Incorrect category | Fix the request |
| 22 | API v1 only | Fix the request |
| 23 | API v2 only | Fix the request |
| 24 | Closed temporarily | Fix the request |
| 25 | Invalid stat | Fix the request |
| 26 | Category or stats only | Fix the request |
| 27 | Must migrate to OC 2.0 | Fix the request |
| 28 | Incorrect log ID | Fix the request |
| 29 | Category unavailable for interaction logs | Fix the request |
| 30 | File does not exist | Fix the request |
| 31 | No city stats for this date | Fix the request |
Keep going
More for scripters tools
API selections
See which access level each Torn API v2 selection needs and the call to make.
API request budget
Check how often a tool can call the Torn API within the 100 a minute per user and 5,000 a minute per IP limits.
Item and stock IDs
Find a Torn item or stock ID by name and copy the matches as CSV or JSON.
All 98 free tools
Want these numbers live on Torn itself? Try Torning Lite for Chrome or Torning Go for Android.