Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Error

The Error object represents an error response returned by the Marketplace API when it encounters a non-2xx HTTP response code. This object includes the following fields:

Field
Type
Description

title

string

A short description of the problem.

type

string

A URI reference that identifies the error type (Problem Details / RFC 7807).

status

number

The HTTP status code returned by the server.

details

string

(Optional) A detailed description of the error message.

traceId

string

(Optional) Represents an identifier used to trace a request.

errors

object

(Optional) A detailed list of errors that can be connected to the request data.

Examples

{
  "title": "Order update failed",
  "detail": "External ID is too long",
  "status": 400,
  "type": "https://docs.platform.softwareone.com/developer-resources/rest-api/errors/commerce#MPTCOM03-0078",
  "traceId": "00-00000000000000000000000000000000-000000000000000-00"
}
 {
  "title": "Order update failed",
  "detail": "Value of listing does not correspond to a valid listing; External ID is too long",
  "status": 400,
  "type": "https://docs.platform.softwareone.com/developer-resources/rest-api/errors/billing#MPTBIL03-0078",
  "traceId": "00-00000000000000000000000000000000-000000000000000-00",
  "errors": [
    {
      "message": "Value of listing does not correspond to a valid listing",
      "properties": [ "listing.id" ]
    },
    {
      "message": "External ID is too long",
      "properties": [ "externalId" ]
    }
  ]
}

Detailed Errors

Parameter Errors Fields

Field
Type
Description

message

string

The message text with markdown allowed.

properties

list<string>

List of object properties affected by the error.

id

string

Message identifier used for the localization process.

parameters

object

Parameters that can be used in a message with {{name}} a template.

Last updated

Was this helpful?