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
| Scenario | Error message |
|---|---|
| Empty payload | Payload is empty |
Missing unmask key | unmask data missing |
Missing token_value field | Missing token value field |
Empty token_value | Missing token value |
| Unmask failure | Unmasking 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
Was this page helpful?
Last updated 3 weeks ago
Built with Documentation.AI