Exceptions๏ƒ

class sp_api.base.MissingCredentials๏ƒ

Credentials are missing, see the error output to find possible causes

class sp_api.base.exceptions.SellingApiException(error, headers)๏ƒ

Bases: Exception

Generic Exception

Parameters:
  • message โ€“ str The error message

  • amzn_code โ€“ str Amazon Error Code

  • error โ€“ list Amazon Error list

code = 999๏ƒ
class sp_api.base.SellingApiBadRequestException(error, headers=None)๏ƒ

Bases: SellingApiException

400 Request has missing or invalid parameters and cannot be parsed.

code = 400๏ƒ
class sp_api.base.SellingApiForbiddenException(error, headers=None)๏ƒ

Bases: SellingApiException

403 Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.

code = 403๏ƒ
class sp_api.base.SellingApiNotFoundException(error, headers=None)๏ƒ

Bases: SellingApiException

404 The resource specified does not exist.

code = 404๏ƒ
class sp_api.base.SellingApiRequestThrottledException(error, headers=None)๏ƒ

Bases: SellingApiException

429 The frequency of requests was greater than allowed.

code = 429๏ƒ
class sp_api.base.SellingApiServerException(error, headers=None)๏ƒ

Bases: SellingApiException

500 An unexpected condition occurred that prevented the server from fulfilling the request.

code = 500๏ƒ
class sp_api.base.SellingApiTemporarilyUnavailableException(error, headers=None)๏ƒ

Bases: SellingApiException

503 Temporary overloading or maintenance of the server.

code = 503๏ƒ