Errors · Status 422Unprocessable Content
idempotency_key_reused
Idempotency-Key already used with a different request
Why it happens
The same key was used in the last 24 hours with another body, method or path.
How to fix
Generate a new key for each different request. Reuse the SAME key only when retrying the same request.
Who answers
the API
Routes that return this error
- POST/v1/feed/sync— Sync the feed now
- PUT/v1/properties/by-ref/{ref}— Create or update by your code
- POST/v1/properties— Create a property
- PATCH/v1/properties/{propertyId}— Partially update a property
- POST/v1/properties/{propertyId}/status— Change the status
- POST/v1/properties/confirm— Confirm availability in bulk
- PUT/v1/leads/by-ref/{ref}— Create, update or link by your code
- POST/v1/leads— Create a client
- PATCH/v1/leads/{leadId}— Partially update a client
- POST/v1/leads/{leadId}/state— Archive or reactivate
- POST/v1/leads/{leadId}/interactions— Log an interaction
- DELETE/v1/properties/{propertyId}— Move to the trash
- DELETE/v1/leads/{leadId}— Move to the trash
- POST/v1/matches/{matchId}/dismiss— Dismiss an opportunity
- POST/v1/matches/{matchId}/restore— Restore an opportunity
- POST/v1/partnerships/{partnershipId}/status— Move the partnership stage
- POST/v1/captacao/offers/{offerId}/accept— Accept an owner
- PATCH/v1/webhooks/{webhookId}— Update an endpoint
- DELETE/v1/webhooks/{webhookId}— Delete an endpoint
- POST/v1/webhooks/{webhookId}/test— Send a test event
- POST/v1/webhooks/{webhookId}/deliveries/{deliveryId}/retry— Redeliver
- POST/v1/properties/batch— Batch of properties
- POST/v1/leads/batch— Batch of clients
Example
{
"type": "https://imobyflow.com.br/desenvolvedores/erros/idempotency-key-reused",
"title": "Idempotency-Key already used with a different request",
"status": 422,
"code": "idempotency_key_reused",
"requestId": "8c1f0a4e-2b7d-4c39-9e51-6a0d3f2b1c7e"
}Tap or hover a field to see what it means.