Error Codes

All successful responses are returned with HTTP Status code 200. In case of failure, Playment API returns a JSON error response with the parameters that detail the reason for the failure with HTTP status code 400.

Error Code Reason

auth-failure

Unauthorized request. The authentication key provided is incorrect

unauthorized

Unauthorized request. You do not have access to the requested resource. Please make sure that you have access to the project you are trying to access.se

FS_0001

Reference ID for the job is already in use. Make sure the reference_id is unique for each job.

FS_0002

reference_id is missing. Make sure to provide a unique reference_id for a job

FS_0003

Job data provided is not valid. Please check the JSON structure.

FS_0004

The job data is empty. Make sure you provide the data for job creation as defined here

FS_0005

work_flow_id was not provided. Make sure to provide the work_fow_id for creating jobs

FS_0007

Attachment could not be accessed or copied

FS_00011

Type of the job is invalid. Make sure the type of the job is either TEST or NON_TEST

FS_00012

Job priority weight is invalid. Make sure the priority weight is in the range of 1-9

GE_0001

One or more parameter in the payload is invalid. For example, batch_id is not a UUID

FS_0000

Something went wrong on Playment's end. Please try again after some time.

FS_0008

Something went wrong on Playment's end. Please try again after some time.

api_error

Something went wrong on Playment's end. Please try again after some time.

core.webutil.auther

Unauthorized request. You do not have access to the requested resource. Please make sure that you have access to the project you are trying to access.

core.webutil.token_auth

Unauthorized request. The authentication key provided is incorrect

BATCH_CREATION

A batch with this name already exists. Make sure to provide a unique batch name for a batch.

invalid_request_error

Invalid pageToken provided, please provide the correct page_token to access the results

resource_error

The resource ID provided is incorrect. Check that your requests are specifying a correct project ID, batch ID, or Job ID.

Last updated