OPDC API error code

COMPANY_READ_ONLY

HTTP status 403

The company is set up read-only: Twinn reads its data and never changes it, so every write is refused. 403, not retryable. Nothing was executed. Making the company writable is done where the Twinn agent is set up, by whoever administers the company's database.

The API answers with a problem document (RFC 9457) whose type is https://twinn.engineering/errors/company-read-only, and with X-Error-Code: COMPANY_READ_ONLY. Branch on the code, never on the detail text.

How errors work, and what to retryEvery error code