- JSON representation
- ErrorResponseResult
- InvalidApiVersion
- RequestTimestampOutOfRange
- InvalidIdentifier
- InvalidFieldValue
- MissingRequiredField
Details about the error that occurred during the redirect payment.
JSON representation |
---|
{
"errorDescription": string,
"errorResponseResult": {
object ( |
Fields | |
---|---|
errorDescription |
OPTIONAL: Provide a description of this status for support reps to debug errors. Note that this is never shown to users. It can contain descriptive, non-sensitive text used for debugging. Note that some values for errorResponseCode should be accompanied by additional detail in this field. Warning: Do not include any tokens in this message unless they are defined as public. |
errorResponseResult |
REQUIRED: A code that captures the type of error that occurred. |
ErrorResponseResult
Error Codes
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field
|
|
invalidApiVersion |
Used if the request's API version is unsupported. |
invalidPayloadSignature |
Used if the signature of the payload is to an unknown or inactive key. |
invalidPayloadEncryption |
Used if the encryption of the payload is to an unknown or inactive key. |
requestTimestampOutOfRange |
Used if the requestTimestamp is not ± 60s of now. |
invalidIdentifier |
Used if an identifier sent in the request was invalid or unknown. This may include PIAID, captureRequestId, Google Payment Token, etc. |
idempotencyViolation |
Used if the request violates the idempotency requirements for the request. |
invalidFieldValue |
Used if the request contains a value for a field that isn't in the set of supported values. |
missingRequiredField |
Used if a field that is required is unset in the request. |
preconditionViolation |
Used if a constraint on the operation is violated (e.g. when a request for a refund amount exceeds the amount remaining on the transaction). |
userActionInProgress |
Used if the request cannot be processed at this time because it would interrupt an in-process user action which effectively acts as a system lock. This code must not be used to indicate failures due to implementation-specific internal concurrency errors. |
invalidDecryptedRequest |
Used if the request payload could be decrypted, but the resulting message could not be parsed. |
internalError |
Internal errors. This means some invariants expected by underlying system has been broken. Analogous to HTTP error 500. |
unimplemented |
Operation is not implemented, supported or enabled in this service. Analogous to HTTP error 501. |
unavailable |
The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying. Analogous to HTTP error 503. |
gatewayTimeout |
Deadline expired before operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. Analogous to HTTP error 504. |
forbidden |
Access to the requested resource is forbidden. Analogous to HTTP error 403. |
InvalidApiVersion
RequestTimestampOutOfRange
InvalidIdentifier
JSON representation |
---|
{ "invalidIdentifierType": string } |
Fields | |
---|---|
invalidIdentifierType |
REQUIRED: The type of identifier that was invalid, e.g. PIAID, captureRequestId, etc. |
InvalidFieldValue
JSON representation |
---|
{ "invalidFieldName": string } |
Fields | |
---|---|
invalidFieldName |
REQUIRED: The name of the field that was found to be invalid. |
MissingRequiredField
JSON representation |
---|
{ "missingFieldNames": [ string ] } |
Fields | |
---|---|
missingFieldNames[] |
REQUIRED: The names of the missing fields. |