-
Notifications
You must be signed in to change notification settings - Fork 0
Server Response Status Codes
Paul Nest edited this page Jul 24, 2019
·
7 revisions
Every response and callback form the Okay service contains status:
"status": {
"code": <status code>,
"message": "status message"
}Here is the list of all possible codes:
| Code | Value |
|---|---|
| -1 | INCOMPLETE |
| 0 | SUCCESS |
| 101 | ERROR |
When status code is ERROR the message field has one of the following messages:
| Message | Description |
|---|---|
| TenantInactive | Tenant is not active |
| TenantExpired | Trial period is expired |
| BadApplication | Cannot find App with parameters from request |
| BadLinkingCode | There are no or more than one linking records with linking code from request |
| TenantLimitsNotDefined | There are no limits for Tenant |
| TenantReachedLimits | Tenant exceeded limits for requested type of operation |
| BadTenantSession | There is a Session for requested user |
| TenantSessionNotFound | User Session not found |
| UserNotLinked | Requested user is not linked |
| ProtocolError | Cannot decrypt incoming request |
| NoUniqueLinkingCode | Cannot generate unique linking code in specified time |
| NoPendingLinking | Multiple users are completing linking simultaneously on the same device |
| UnknownError | Unknown error |