GEM API Codes

Code name Numeric value Description
OK 0 There was no error
ApiErrorRequestStructureInvalid 1001 The input structure (the json body of the incoming API request) was invalid. It was either null, did not parse correctly, or had invalid values.
ApiErrorGemServerError 1002 The request was successfully received and parsed but the GEM server reported an error when trying to execute it. The fields in the error structure provide more context-specific detail.
ApiErrorInvalidURLFields 1003 The URL was recognized as an API route, but the fields in that route were either missing or contained invalid values.
ApiErrorInvalidHTTPStatusCode 1004 This code has been deprecated. No API calls return it. If you are seeing this code, please report a bug immediately.
ApiErrorResponseStructureInvalid 1005 This code has been deprecated. No API calls return it. If you are seeing this code, please report a bug immediately.
ApiErrorDiscoveryUnrecognizedDevice 1006 The identifier of the "device" making the discovery API call is not recognized. In the case of Discovery, the device id can encode additional information besides just the device id. The receipt of this API code indicates that either the device, show, or group being requested could not be discovered.
ApiErrorDiscoveryNoShowServerForDevice 1007 The discovery service was explicitly asked to search for a show which does not exist. This API code differs from ApiErrorDiscoveryUnrecognizedDevice in that the latter determines the show that it is searching for from context, while this one searches based on a explicit show request.