terms_changed
- HTTP-status
- 409 Conflict
Hvad skete der
X-Komplai-Contract is not the current contract: the provider, its terms, the data mode, the agreement or the coding models and their prices changed.
Hvad du kan gøre
Read GET /v1/coding/account again, show the new terms to the person, and send the new contract.
Eksempel
JSON
{
"error": "terms_changed",
"request_id": "0f8e2c4a-6b1d-4e3f-9a7c-5d2b8e1f4a60",
"doc_url": "https://developers.komplai.dk/errors/terms_changed"
}Hvert svar har headeren Request-Id, og en fejl gentager den som request_id. Oplys den, når du spørger komplai om et kald.
Endpoints, der kan returnere den
- POST
/v1/coding/chat/completionsStream a coding completion