Premium Listings error code register

968

The error response for the Premium Listings API is made up of a custom error code and a human-readable reason. An example of a custom error code is 1011001 and it is made up of the following parts:

  • 101 identifies the service (101 - Premium Listings API)
  • 1 identifies the severity level, 1 being the default for the time being
  • 001 is a custom code that provides further details about the failure

Service codes:

CodeService
101Premium Listings API
102Premium Listings Processor

*List of current error codes and the error they correspond to:

CodeError
1011001Create Premium Listing - Error parsing request
1011002Create Premium Listing - Internal error interpreting JSON data
1011003Create Premium Listing - Validation error: pending premium listing already exists for listingId
1011004Create Premium Listing - Validation error: activated premium listing already exists for listingId
1011005Create Premium Listing - Internal DB error
1011007Create Premium Listing - Validation error: Listing doesn’t pass the quality check. To activate Premium Listing product listing’s Full description should be at least 200 characters.
1011008Create Premium Listing - Validation error: Listing doesn’t pass the quality check. To activate Premium Listing product listing should have at least 3 images assigned.
1011009Create Premium Listing - Validation error: Listing custom details should not exceed 640kb.
1011011Get Premium Listing - Premium listing not found
1011012Get Premium Listing - Internal error interpreting JSON data
1011016Get Premium Listing - Internal DB error
1011017Get Premium Listing - Request error
1011021Update Premium Listing - Error parsing request
1011022Update Premium Listing - Internal error interpreting JSON data
1011026Update Premium Listing - Internal DB error
1011041Update Premium Listing highlights - Error parsing request
1011042Can't deserialise provided payload
1011043Premium Listing can be only updated if it's active. Active means that the date it expires at is in the future and status is ACTIVATED
1011044There's already update pending. Please wait a while and try again. You can't have two updates in a fly.
1011045Internal error during updating. Issue related to the storage.
1011051Listing Service - Can't find listingId
1011052Listing Service - No owner found for given listingId
1011053Listing Service - Internal error connecting to listing service
1011054Listing Service - Internal error interpreting JSON data
1011055Listing Service - listingId found does not match the one provided
1011061Listing Matching Service - Can not match customerListingId to a listingId
1011062Listing Matching Service - Internal error interpreting JSON data
1011063Listing Matching Service - Could not connect to internal system
1011064Listing Matching Service - No sources assigned to the client
1011065Listing Matching Service - Internal error : both listingId and customerListingId cannot be set
1011066Listing Matching Service - Listing Matching Service URL: has not been specified : invalid configuration
1011900Internal Service Error
1011901Client does not have access to listing
1011902Internal error interpreting JSON data for permissions
1011903Internal DB error - Cannot create index
1011904Invalid request - request body doesn't meet JSON schema requirements
1011905Invalid request - provided highlight are not valid
1021000Premium Listings Processor - Cannot decode error from legacy-products
1021001Premium Listings Processor - Product already activated for this listing
1021002Premium Listings Processor - Product cannot be activated for this listing
1021003Premium Listings Processor - Listing details not available
1021004Premium Listings Processor - Listing does not have enough images assigned
1021005Premium Listings Processor - Listing does not have long enough Full description
1021006Premium Listings Processor - Contract does not have premium features activated
1021007Premium Listings Processor - Unable to assign highlights to listing
1021008Premium Listings Processor - Unknown message type

Ranges for further details. These can be extended as the API is extended.

RangeFeature
001 - 010Create Premium Listing
011 - 020Get Premium Listing(s)
021 - 030Update Premium Listing
041 - 050Premium Listing Plus (highlights) validation
051 - 060Listing JSON Service
061 - 070Listing Matching Service
900 - 910Internal Service / Permission Errors