PartnerCentralAccountAPI / Client / exceptions / ServiceQuotaExceededException

ServiceQuotaExceededException

class PartnerCentralAccountAPI.Client.exceptions.ServiceQuotaExceededException

The request was rejected because it would exceed a service quota or limit. This may occur when trying to create more resources than allowed by the service limits.

Example

try:
  ...
except client.exceptions.ServiceQuotaExceededException as e:
  print(e.response)
response

The parsed error response. All exceptions have a top level Error key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.

Syntax

{
    'Message': 'string',
    'Reason': 'LIMIT_EXCEEDED_NUMBER_OF_EMAIL'|'LIMIT_EXCEEDED_NUMBER_OF_DOMAIN',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The request was rejected because it would exceed a service quota or limit. This may occur when trying to create more resources than allowed by the service limits.

    • Message (string) –

    • Reason (string) –

      The specific reason for the service quota being exceeded.

    • Error (dict) – Normalized access to common exception attributes.

      • Code (string) – An identifier specifying the exception type.

      • Message (string) – A descriptive message explaining why the exception occured.