Errors · Status 413Content Too Large
payload_too_large
Payload too large
Why it happens
The body exceeded the cap: 256 KB per request, 4 MB per batch.
How to fix
Split the batch into smaller parts.
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
- 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
- POST/v1/partnerships/{partnershipId}/status— Move the partnership stage
- POST/v1/webhooks— Register an endpoint
- PATCH/v1/webhooks/{webhookId}— Update an endpoint
- POST/v1/properties/batch— Batch of properties
- POST/v1/leads/batch— Batch of clients
- PUT/v1/properties/{propertyId}/owner— Save the owner
- POST/v1/leads/{leadId}/contacts— Log how the contact went
- POST/v1/leads/{leadId}/next-step— Set the next step
- POST/v1/leads/{leadId}/temperature— Lock the temperature
- POST/v1/leads/{leadId}/lost— Close as lost
- POST/v1/leads/{leadId}/visits— Schedule a visit
- POST/v1/visits/{visitId}/reschedule— Reschedule the visit
- POST/v1/visits/{visitId}/cancel— Cancel the visit
- POST/v1/visits/{visitId}/outcome— Log how the visit went
- POST/v1/leads/{leadId}/proposals— Record an offer
- POST/v1/proposals/{proposalId}/rounds— Record a counteroffer
- POST/v1/proposals/{proposalId}/close— Close the offer
- POST/v1/rent/contracts/{contractId}/tickets— Open a ticket
- PATCH/v1/rent/contracts/{contractId}/tickets/{ticketId}— Update the ticket
- POST/v1/rent/contracts/{contractId}/tickets/{ticketId}/stage— Move the ticket
- POST/v1/rent/contracts/{contractId}/tickets/{ticketId}/cancel— Cancel the ticket
Example
{
"type": "https://imobyflow.com.br/desenvolvedores/erros/payload-too-large",
"title": "Payload too large",
"status": 413,
"code": "payload_too_large",
"requestId": "8c1f0a4e-2b7d-4c39-9e51-6a0d3f2b1c7e"
}Tap or hover a field to see what it means.