Kenso

insufficient_credits

The workspace's credits do not cover the action. error.refusal says how short they are.

HTTP 402

What it means

The workspace's credits do not cover the action. error.refusal says how short they are.

How to fix it

Add credits, then try again.

Where it comes from

402 insufficient_credits from 2 endpoints:

The error body carries this code in error.code. Branch on the code, not on message. See the errors guide.

More