Errors · Status 409Conflict
concurrent_write
Another write for this code is in progress — retry
Why it happens
Two requests for the SAME code arrived together. The lock exists so the property is not created twice.
How to fix
Retry in a few seconds. Avoid sending the same code in parallel.
Who answers
the API
Routes that return this error
- PUT/v1/properties/by-ref/{ref}— Create or update by your code
- POST/v1/properties— Create a property
- PUT/v1/leads/by-ref/{ref}— Create, update or link by your code
- POST/v1/leads— Create a client
Example
{
"type": "https://imobyflow.com.br/desenvolvedores/erros/concurrent-write",
"title": "Another write for this code is in progress — retry",
"status": 409,
"code": "concurrent_write",
"requestId": "8c1f0a4e-2b7d-4c39-9e51-6a0d3f2b1c7e"
}Tap or hover a field to see what it means.