Skip to main content
POST
/
acs
/
encoders
/
simulate
/
next_credential_encode_will_fail
await seam.acs.encoders.simulate.nextCredentialEncodeWillFail({ acs_encoder_id: "182ea706-8e14-4921-8e57-ee18d5a7de31", error_code: "no_credential_on_encoder", }); /* // void */
{
  "ok": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
acs_encoder_id
string<uuid>
required

ID of the acs_encoder that will be used in the next request to encode the acs_credential.

error_code
enum<string>
default:no_credential_on_encoder

Code of the error to simulate.

Available options:
no_credential_on_encoder,
encoding_interrupted

Response

OK

ok
boolean
required