ManagedBlockchainQuery / Client / exceptions / ThrottlingException

ThrottlingException#

class ManagedBlockchainQuery.Client.exceptions.ThrottlingException#

The request or operation couldn’t be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.

Example

try:
  ...
except client.exceptions.ThrottlingException 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',
    'serviceCode': 'string',
    'quotaCode': 'string',
    'retryAfterSeconds': 123,
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The request or operation couldn’t be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.

    • message (string) –

      The container for the exception message.

    • serviceCode (string) –

      The container for the serviceCode.

    • quotaCode (string) –

      The container for the quotaCode.

    • retryAfterSeconds (integer) –

      The container of the retryAfterSeconds value.

    • 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.