Skip to main content

Get import errors

GET 

/subscriptions/imports/:import_uuid/errors

Retrieves all errors encountered as part of the import. Each error is attributed to a line in the JSONL file imported, so for example, if at line 1 in your JSONL you had a subscription_product without a name, there would be a minimum string error for the name attribute with "line_number": 1.

Errors are also ordered by line number ascending, and can be paginated.

Request

Path Parameters

    import_uuid UUIDrequired

    The unique identifier of the import.

Query Parameters

    page[offset] int64

    Possible values: <= 10000

    The current offset by number of records, not pages. Offset is zero-based. The maximum records you can offset is 10,000. If no page size is set, the page length store setting is used.

    page[limit] int64

    The maximum number of records per page for this response. You can set this value up to 100. If no page size is set, the page length store setting is used.

Responses

Success. The import errors are returned.

Schema
    data object[]
  • Array [
  • id UUID (string)required

    The unique identifier.

    type SubscriptionImportErrorType (string)required

    Possible values: [subscription_import_error]

    meta objectrequired
    owner stringrequired
    timestamps Timestampsrequired
    updated_at stringrequired

    The date and time a resource was updated.

    created_at stringrequired

    The date and time a resource was created.

    error stringrequired
    field stringrequired
    line_number integerrequired

    The line in the imported JSONL file at which the validation error occurred. Starts from 1.

    external_ref ExternalRef (string)

    Possible values: <= 2048 characters

    A unique attribute that you could use to contain information from another company system, for example. The maximum length is 2048 characters.

  • ]
  • links object
    anyOf
    title
Loading...