Errors

  • PriceBlocs uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the2xxrange indicate success. Codes in the4xxrange indicate an error that failed given the information provided (e.g., a required parameter was omitted). Codes in the5xxrange indicate an error with PriceBlocs's servers.
Attributes
  • status_code

    numberoptional
    • HTTP status code for the response
  • error

    stringoptional
    • The type of HTTP error.
  • message

    stringoptional
    • A human-readable message providing more details about the error.
  • type

    stringoptional
    • The type of PriceBlocs error
More parameters
Expand all
  • url

    stringoptional
  • headers

    hashoptional
  • method

    stringoptional
  • param

    stringoptional
  • payload

    hashoptional
  • docs

    stringoptional
  • chat

    stringoptional
Have any questions?
HTTP status code summary
200 - OKEverything worked as expected.
400 - Bad RequestThe request was unacceptable, often due to missing a required parameter.
401 - UnauthorizedNo valid API key provided.
402 - Request FailedThe parameters were valid but the request failed.
403 - ForbiddenThe API key doesn't have permissions to perform the request.
404 - Not FoundThe requested resource doesn't exist.
429 - Too Many RequestsToo many requests hit the API too quickly.
500, 502, 503, 504 - Server ErrorsSomething went wrong on PriceBlocs's end.
Error Types
PriceBlocsErrorThis is general error, and means there is a problem with PriceBlocs servers.
PriceBlocsBadRequestErrorInvalid request errors arise when your request has invalid parameters.
PriceBlocsResourceNotFoundErrorThis occurs when a resource has not been found for an identifier you've passed in the request.
PriceBlocsAuthenticationErrorRequest is not authenticated. Check if the api key used in request is valid.
PriceBlocsPermissionErrorCheck the permissions of the key used in the request.
PriceBlocsResourceValidationErrorValidation errors occur when the request parameters fail constraints.
Show docs menu

Errors

  • PriceBlocs uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the2xxrange indicate success. Codes in the4xxrange indicate an error that failed given the information provided (e.g., a required parameter was omitted). Codes in the5xxrange indicate an error with PriceBlocs's servers.
Attributes
  • status_code

    numberoptional
    • HTTP status code for the response
  • error

    stringoptional
    • The type of HTTP error.
  • message

    stringoptional
    • A human-readable message providing more details about the error.
  • type

    stringoptional
    • The type of PriceBlocs error
More parameters
Expand all
  • url

    stringoptional
  • headers

    hashoptional
  • method

    stringoptional
  • param

    stringoptional
  • payload

    hashoptional
  • docs

    stringoptional
  • chat

    stringoptional
Have any questions?
HTTP status code summary
200 - OKEverything worked as expected.
400 - Bad RequestThe request was unacceptable, often due to missing a required parameter.
401 - UnauthorizedNo valid API key provided.
402 - Request FailedThe parameters were valid but the request failed.
403 - ForbiddenThe API key doesn't have permissions to perform the request.
404 - Not FoundThe requested resource doesn't exist.
429 - Too Many RequestsToo many requests hit the API too quickly.
500, 502, 503, 504 - Server ErrorsSomething went wrong on PriceBlocs's end.
Error Types
PriceBlocsErrorThis is general error, and means there is a problem with PriceBlocs servers.
PriceBlocsBadRequestErrorInvalid request errors arise when your request has invalid parameters.
PriceBlocsResourceNotFoundErrorThis occurs when a resource has not been found for an identifier you've passed in the request.
PriceBlocsAuthenticationErrorRequest is not authenticated. Check if the api key used in request is valid.
PriceBlocsPermissionErrorCheck the permissions of the key used in the request.
PriceBlocsResourceValidationErrorValidation errors occur when the request parameters fail constraints.