File: //home/arjun/projects/buyercall_forms/buyercall/buyercall/blueprints/api2/doc/twilio_error_codes.py
errors = {
'13239': 'Dial->Conference: Invalid Trim Value',
'13240': 'Dial->Conference: Invalid Whisper SID',
'13326': 'Gather: Invalid input value',
'13327': 'Gather: Invalid speechTimeout value',
'13328': 'Gather: Invalid maxSpeechTime value',
'13329': 'Gather: Invalid partialResultCallbackMethod value',
'13330': 'Gather: Invalid hints value',
'13331': 'Gather: Invalid language value',
'13332': 'Gather: Invalid bargeIn value',
'13619': 'Record: Transcription feature not available for this type of recording.',
'13620': 'Record: Transcription not available for this recording',
'13621': 'Invalid recordingStatusCallbackEvent',
'13750': 'Twiml verb not supported by this API version.',
'16000': 'Whisper Not Available on Twilio Conference',
'16001': 'Conference is not bridged',
'16002': 'Failed to validate conference attributes',
'16003': 'Could not recognize conference sid or friendly name',
'16010': 'Conference Event: Internal Twilio Error',
'16011': 'Conference Event: Error Response to Callback URL',
'16020': 'Conference is full',
'16021': 'Failed to join conference due to account concurrency limit exceeded',
'16022': 'Conference does not exist or is completed',
'16099': 'Unexpected conference status',
'16101': 'Voice Recording : Unavailable because duration is too short',
'16102': 'Voice Recording: Unavailable because recording is silent',
'16104': 'Voice Recording: Unavailable due to encryption failure',
'16105': 'Voice Recording: Unavailable due to no valid public keys',
'16106': 'Voice Recording: Unavailable due to internal encryption error',
'16107': 'Voice Recording: Encrypted with alternate public key',
'16108': 'Voice Recording: Request failed due to concurrent recordings',
'16109': 'Voice Recording: Cannot fetch .mp3 encrypted recording',
'20101': 'Invalid Access Token',
'20102': 'Invalid Access Token header',
'20103': 'Invalid Access Token issuer/subject',
'20104': 'Access Token expired or expiration date invalid',
'20105': 'Access Token not yet valid',
'20106': 'Invalid Access Token grants',
'20107': 'Invalid Access Token signature',
'20151': 'Authentication Failed',
'20152': 'Invalid Header',
'20153': 'Invalid Issuer Or Subject',
'20154': 'Invalid Claim Set',
'20155': 'Expiration Time In The Future',
'20156': 'Expired or Invalid Expiration in Token',
'20157': 'Expiration Time Exceeds Maximum Time Allowed',
'20159': 'Invalid Signature',
'20160': 'Invalid Token',
'20403': '403 Forbidden',
'20404': 'The telephone number is not available for ordering.',
'21102': 'Reached maximum number of Services',
'21234': 'Invalid Machine Detection configuration value',
'21449': 'Number already can be used for outgoing calls and messages',
'21481': 'Invalid PageToken',
'21615': 'Phone Number Requires a Local Address',
'21628': 'Address Validation Error',
'21629': 'Address Validation Error - Check Suggested Address',
'21630': 'Cannot mutate Address that is linked to a verified Document.',
'21650': 'Phone Number Requires a Verified Identity Document',
'21651': 'Document does not satisfy regulatory requirement',
'22100': 'Reached Maximum Verification Attempts',
'22101': 'Invalid Hosted Number Order SIDs',
'22102': 'Invalid Phone Number',
'22103': 'Unsupported Iso Country',
'22104': 'Invalid Email Format',
'22105': 'Invalid URL format',
'22106': 'Invalid Method',
'22107': 'Unable to Update Authorization Document',
'22108': 'Invalid Application SID',
'22109': 'Invalid Address SID',
'22110': 'Phone Number Not Hostable',
'22111': 'Invalid Hosted Number Order Status',
'22112': 'Unable to Update Hosted Number Order Status',
'22113': 'Phone Verification Incorrect',
'22114': 'Unable to Verify Code',
'22115': 'Invalid Unique Name',
'22116': 'Invalid Friendly Name',
'22117': 'Invalid Extension',
'22118': 'Invalid Verification Document SID',
'22119': 'Invalid Capabilities',
'22120': 'Invalid Verification Type',
'22121': 'Unable to Transfer Hosted Number',
'22122': 'Invalid Authorization Document Status',
'22123': 'Unable to Initiate Verification Call',
'31000': 'Generic error',
'31001': 'Application not found.',
'31002': 'Connection declined.',
'31003': 'Connection timeout',
'31005': 'Connection error',
'31006': 'Audio device error',
'31007': 'Twilio Client: Client version not supported',
'31008': 'Call cancelled',
'31100': 'Malformed request',
'31101': 'Missing parameter array in request.',
'31102': 'Authorization token missing in request.',
'31103': 'Length of parameters cannot exceed MAX_PARAM_LENGTH.',
'31104': 'Invalid bridge token.',
'31105': 'Invalid client name.',
'31106': 'Invalid data',
'31201': 'Twilio Client: Error occurred while accessing microphone',
'31202': 'JWT signature validation failed.',
'31203': 'No valid account.',
'31204': 'Invalid JWT token.',
'31205': 'JWT token expired.',
'31206': 'Rate exceeded authorized limit.',
'31207': 'JWT token expiration too long.',
'31208': 'User denied access to microphone.',
'31301': 'Registration error',
'32002': 'SIP: Dial failure - Twilio SIP Domain not found',
'32007': 'SIP: Too many endpoints/bindings for the Address-of-record (AOR)',
'32008': 'SIP: Registration per second limit reached',
'32009': 'The user you tried to dial is not registered with the corresponding SIP Domain',
'32013': 'SIP: Master account SIP Interface CPS limit exceeded',
'32014': 'Call is terminated because of no audio received',
'32015': 'Call is terminated due to exceeding max call duration of 4 hours.',
'32105': 'SIP: Invalid contact header',
'32106': 'SIP: Authentication Error',
'32210': 'SIP: Register not supported',
'32212': 'SIP: Registration Authentication problem',
'32214': 'SIP: Invalid <Dial><Sip> ',
'32215': 'Dial failure calling a SIP Domain without specifying a region',
'64001': 'Pay: Configuration Error',
'64002': 'Pay: Service unavailable.',
'64003': 'Pay: Invalid charge amount.',
'64004': 'Pay: Invalid paymentConnector attribute in TwiML.',
'64005': 'Pay: Connector does not support tokenization.',
'64006': 'Pay: Connector does not support token type.',
'64007': 'Pay: Connector does not support creating charge.',
'64008': 'Pay: Payment Gateway rejected charge creation.',
'64009': 'Pay: Twilio is no longer authorized to initiate transactions on your behalf.',
'64010': 'Pay: Payment Gateway rejected token creation.',
'64011': 'Pay: Connector does not support the requested currency.',
'64012': 'Pay: Payment Gateway rejected the card.'
}