Standard Error Payload
Standard Error Payload
Section titled “Standard Error Payload”Errors returned from Trimble APIs MUST support to the Trimble Standard Error Payload (schema definition), an extension of RFC 7807. Errors must minimally specify
type, a language-independent URI reference that specifies the problem type. This URI, when dereferenced, SHOULD resolve to human-readable documentation for the problem type.title, a short, human-readable summary of the problem type. This summary MAY be the client’s requested language if the resource server generating the error supports theACCEPT-LANGUAGEHTTP header, or American English otherwise.
Services may optionally return subordinate errors in an optional errors array.
{ "type":"http://docs.trimble.com/workmate/guidance/errors/F410", "title":"Unable to calibrate device settings due to current channel configuration.", "status":409, "errors":[ { "type":"http://docs.trimble.com/workmate/guidance/errors/F415.0", "title":"Unable to set POS device setting due to current channel configuration." }, { "type":"http://docs.trimble.com/workmate/guidance/errors/F416.0", "title":"Unable to set NAV device setting due to current channel configuration." } ]}