module Rev::OrderRequestErrorCodes

Constants for validation error codes in OrderRequest response

Constants

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

10005 External Link and URI specified - only External Link or URI should be set for input media

10006 Input Location is not specified - neither of External Link and URI set for input media

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

INVALID_AUDIO_LENGTH

@deprecated Use {#OrderRequestErrorCodes.INVALID_MEDIA_LENGTH} instead

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

INVALID_LANGUAGE_CODE

20003 Invalid Language Code - the language codes provided for subtitles are invalid

INVALID_MEDIA_LENGTH

20001 Invalid Media Length - If one of the input medias has a specified length that is not a positive integer

MISSING_INPUTS

10001 Missing Inputs - if the order request did not contain any input media

MISSING_PAYMENT_INFO

30001 Missing Payment Info - if the order request did not contain a payment information element

MISSING_PAYMENT_TYPE

30002 Missing Payment Type - if the order request did not contain a payment kind element

MULTIPLE_OPTIONS_SPECIFIED

10003 Multiple options specified - only options for one service can be included per each order placement request

OPTIONS_NOT_SPECIFIED

10001 Missing Inputs - if the order request did not contain any input media

REFERENCE_NUMBER_TOO_LONG

20010 Reference Number Too Long Code - the reference number provided longer than 40 characters