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
MULTIPLE_OPTIONS_SPECIFIED =

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

10003
OPTIONS_NOT_SPECIFIED =

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

10004
10005
10006
INVALID_MEDIA_LENGTH =

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

20001
INVALID_AUDIO_LENGTH =
Deprecated.

Use Rev::OrderRequestErrorCodes#OrderRequestErrorCodes#OrderRequestErrorCodes.INVALID_MEDIA_LENGTH instead

INVALID_MEDIA_LENGTH
INVALID_LANGUAGE_CODE =

20003 Invalid Language Code - the language codes provided for subtitles 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