Module: Rev::OrderRequestErrorCodes
- Defined in:
- lib/rev-api/exceptions.rb
Overview
Constants for validation error codes in OrderRequest response
Constant Summary collapse
- MISSING_INPUTS =
10001 Missing Inputs - if the order request did not contain any input media
10001- INVALID_INPUTS =
10002 Invalid Input - if one of the input media URIs is invalid, eg does not identify a valid media uploaded via a POST to /inputs
10002- TC_AND_TR_OPTIONS_SPECIFIED =
10003 Transcription and Translation Specified - only one of the translation option and transcription option sections can be included
10003- TC_OR_TR_OPTIONS_NOT_SPECIFIED =
10001 Missing Inputs - if the order request did not contain any input media
10004- EXTERNAL_LINK_AND_URI_SPECIFIED =
10005 External Link and URI specified - only External Link or URI should be set for input media
10005- EXTERNAL_LINK_OR_URI_NOT_SPECIFIED =
10006 Input Location is not specified - neither of External Link and URI set for input media
10006- INVALID_AUDIO_LENGTH =
20001 Invalid Audio Length - If one of the input medias has a specified length that is not a positive integer
20001- INVALID_WORD_COUNT =
20002 Invalid Word Count - word counts for translation are missing or inaccurate
20002- INVALID_LANGUAGE_CODE =
20003 Invalid Language Code - the language codes provided for translation are invalid
20003- REFERENCE_NUMBER_TOO_LONG =
20010 Reference Number Too Long Code - the reference number provided longer than 40 characters
20010- MISSING_PAYMENT_INFO =
30001 Missing Payment Info - if the order request did not contain a payment information element
30001- MISSING_PAYMENT_TYPE =
30002 Missing Payment Type - if the order request did not contain a payment kind element
30002- INELIGIBLE_FOR_BALANCE_PAYMENT =
30010 Ineligible For Balance Payments - if the user on whose behalf the order request was made is not eligible for paying using account balance
30010- ACCOUNT_BALANCE_LIMIT_EXCEEDED =
30011 Account Balance Limit Exceeded - if the order request specified payment using account balance, but doing so would exceed the user’s balance limit
30011- MISSING_CREDIT_CARD_INFO =
30020 Missing Credit Card Info - if the order request specified payment using credit card, but did not provide the credit card info element
30020- INVALID_SAVED_CREDIT_CARD =
30021 Invalid Saved Credit Card - if the order request specified payment using a saved credit card, but the specified credit card id was invalid
30021- INVALID_CREDIT_CARD_DETAILS =
30023 Invalid Credit Card Details - if the order request specified payment using credit card, but some required credit card data elements were missing or had invalid values
30023- CREDIT_CARD_AUTHORIZATION_FAILED =
30024 Credit Card Authorization Failed - if the order request specified payment using credit card, but we could not charge the card
30024