Errors
HTTP status codes and error messages.
HTTP status codes
| Code | Meaning |
|---|---|
200 | Success |
202 | Accepted: the change is being applied (self-service subscriptions) |
400 | Invalid request, for example an unsupported parameter value |
401 | No token sent |
403 | Invalid token, or the token does not include this product |
404 | Resource not found |
409 | Conflict with the current state |
422 | Validation error in the request body |
429 | Too many requests. Slow down and retry later. |
502, 503 | Temporary error. Safe to retry with backoff. |
401 — NO TOKEN
Bridgewise requires an authenticated token, you may not proceed
without such a Token. Please see product documentation as for
obtaining and including an Authentication Token or contact
support@bridgewise.com for acquiring a proper license.Authentication errors
| Case | Code | What to do |
|---|---|---|
| No token | 401 | Send Authorization: Bearer <token> |
| Invalid or expired token | 403 | Request a new token (once per 24 hours) |
| Token not entitled | 403 | Your plan does not include this data. Contact your account manager. |
| Internal error | 403 | Contact support |
403 — NOT ENTITLED
Your token does not allow access to this service. Please contact
your admin or contact support@bridgewise.com to acquire a proper
license.Error object
Newer endpoints, such as self-service subscriptions, return a structured error.
Attributes
error.codestringMachine-readable code, for example
ALREADY_SUBSCRIBED, NOT_SUBSCRIBED, SYNC_FAILED, UNAUTHENTICATED, FORBIDDEN.error.messagestringHuman-readable message.
error.retryablebooleantrue if the same request can be retried.ERROR OBJECT
{
"error": {
"code": "SYNC_FAILED",
"message": "The watchlist could not be synchronized. Please retry.",
"retryable": true
}
}