When it fires
POST /v1/market-conversations or POST /v1/market-conversations/{conversationId}/messages when the user, or your API key across all its users, has reached today’s limit on new market conversations or on market-creation messages. Nothing was written.
Example problem body:
Why it happens
- Limits count from 00:00 UTC and reset then.
Retry-Afteris the number of seconds until that moment. - A user’s messages count whether they were sent through the API or in the Kash app.
- The limits depend on your key’s tier. They are set by Kash and are not published.
Idempotency-Key, is never refused and never counted again.
When today’s AI drafting budget for your key, or for market creation through the API, is used up, a message is not refused: it is accepted with 202, and the assistant’s reply in the transcript says that the budget is used up and resets at 00:00 UTC.
How to fix
- Wait for
Retry-Afterbefore trying again. Retrying sooner is refused the same way. Nothing was stored, so a retry with the sameIdempotency-Keyafter that is a fresh attempt. - If your integration needs higher limits, contact ZeroID about your key’s tier.
- The TypeScript SDK raises this as
KashRateLimitErrorwithretryAfterSeconds. It does not wait for aRetry-Afterlonger than itsretryAfterMaxMs(60 seconds by default), so it throws at once.
Related codes
RATE_LIMIT_EXCEEDED: 429, too many messages in the last minute.