Errors

Opportunity @ Work STARs Mobility Data Model APIs use conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, unauthorized request etc.). Codes in the 5xx range indicate an error with Opportunity @ Work's servers (these are rare).

HTTP Status Code Summary

Status CodeMessageDescription
200OKEverything worked as expected.
400Bad RequestThe request was unacceptable, often due to missing a required parameter.
401UnauthorizedNo valid authentication token provided.
402Request FailedThe parameters were valid but the request failed.
403ForbiddenThe API authentication token doesn’t have permissions to perform the request.
404Not FoundThe requested resource doesn’t exist.
422Unprocessable EntityRequired parameters sent are unprocessable.
500, 502, 503, 504Server ErrorsSomething went wrong on O@W’s end. (These are rare.)