err:frontline:config:invalid_configuration422 Unprocessable Entity.
Example response
If you’re calling an API hosted on Unkey
Nothing you change will fix this. Requests keep failing until the owner fixes their configuration. Contact the API owner with the request ID.If you own this API
Common causes:- A key-auth policy has a negative
creditsvalue. - A key-auth policy’s
permissionQuerydoesn’t parse. - An OpenAPI policy’s spec is invalid.
- The policy configuration can’t be read at all.
How to fix
- Open the gateway policies for the .
- Fix the broken value: make
creditszero or positive, fix the permission query syntax, or repair the OpenAPI document. - Create a new deployment. The running deployment keeps the broken configuration until you deploy again.
Related errors
err:frontline:platform:config_load_failed: the configuration couldn’t be loaded at all, which is a failure on our side.err:frontline:client:openapi_validation_failed: the spec compiled and the request failed validation.