CD.COM.API.01 api_error_codes_common

Common error codes are a set of common status codes that are used in various APIs to indicate specific errors or exceptional events. Here are a few error codes that are used in APIs. This can be further amended by the implementing agency

Code
Description

rjct.request.invalid

Error while parsing request

rjct.signature.invalid

Signature is invalid or missing

rjct.headers.invalid

Header is missing or invalid

rjct.headers.version.invalid

Version in headers is missing or invalid

rjct.headers.message_id.invalid

Message id in headers is missing or invalid

rjct.headers.message_ts.invalid

Message timestamp in headers is missing or invalid

rjct.headers.sender_id.invalid

Sender id in headers is missing or invalid

rjct.headers.receiver_id.invalid

Receiver id in headers is missing or invalid

rjct.headers.action.invalid

Action in headers is missing or invalid

rjct.headers.total_count.invalid

Total count in headers is missing or invalid

rjct.headers.total_count.limit_exceed

Total count limit exceed, implementer can define own limit to restrict counts

rjct.headers.completed_count.invalid

Completed count in headers is invalid

rjct.headers.is_encrypted.invalid

Is encrypted flag in headers is missing or invalid

rjct.headers.encryption_algorithm.invalid

Encryption algorithm in headers is invalid

rjct.headers.async.invalid

Async flag value in headers is invalid, true or false is allowed as value

rjct.headers.callbackendpoint.connection_error

The call back url is not reachable or invalid

rjct.headers.callbackendpoint.autherror

The call back url sent authentication related error while connecting

rjct.message.transaction_id.invalid

The transaction_id in message is missing or invalid

rjct.filter.invalid

The filter attribute is missing or invalid

rjct.filter.sort

The sort attribute is missing or invalid

rjct.pagination.invalid

The pagination attribute is missing or invalid

rjct.locale.invalid

The locale attribute is missing or invalid

Last updated