Errors, Limits & ReliabilityUnmasking Errors

Unmasking Errors

Common error messages from the Unmask API, what causes them, and how to fix them.

The Unmask API returns structured error messages for invalid or unauthorized requests.

Endpoint: PUT https://protecto-trial.protecto.ai/api/vault/unmask

Common errors

ScenarioError message
Empty payloadPayload is empty
Missing unmask keyunmask data missing
Missing token_value fieldMissing token value field
Empty token_valueMissing token value
Unmask failureUnmasking of given token values failed.

Example: Missing token_value

Request:

{
  "unmask": [
    { "token_value": " " }
  ]
}

Response:

{
  "data": null,
  "success": false,
  "error": {
    "message": "Missing token value field"
  }
}

Fixes