SDK Error Codes
When using the SDK, you may encounter the following error codes:
| Code | Description |
|---|---|
| 1000 | Invalid API token |
| 1001 | Missing user identifier |
| 1002 | Service unavailable |
| 1003 | Missing header |
| 1004 | Network timeout |
| 1005 | Unknown network error |
| 1006 | Javascript execution error |
| 1007 | App unavailable |
| 1008 | No internet connection |
| 2000 | Missing required tag |
| 2001 | No content available for this placement |
| 3000 | Missing attribute |
| 3001 | No configuration for landscape orientation while attempting to show in landscape |
| 3002 | No configuration for portrait orientation while attempting to show in portrait |
| 4000 | Invalid reward identifier |
| 6000 | Not initialized |
| 6001 | Missing API token |
| 6002 | Unable to present UI |
| 6003 | Unable to create UI |
| 6004 | Unable to decode TRError JSON |
| 6005 | Reward delegate was deallocated or not set |
| 6006 | Bad or missing custom parameter |
| 6007 | Missing application context |
| 6008 | Missing placement tag |
| 6009 | Missing content callback |
| 6010 | SDK not ready |
| 6011 | Unable to convert user attributes |
Debugging
To assist with debugging, please provide:
- The error code you're encountering
- A complete stack trace of the error
- Any relevant context about when the error occurs
Contact developers@tapresearch.com with this information for support.