Developer docs · Problems

Upload not landed

HTTP 422 · https://impartire.com/problems/upload-not-landed

What it means

The upload's bytes have not reached storage yet; PUT them to upload_url first (a multipart upload: PUT every part, then POST /api/v1/uploads/{id}/complete).

What to do

PUT the bytes to upload_url with the returned headers first (for a multipart upload, PUT every part and POST /api/v1/uploads/{id}/complete), then create the asset. GET /api/v1/uploads/{id} shows whether they landed.

Example

Sent as application/problem+json with status 422. detail varies with the request; branch on type.

{
  "type": "https://impartire.com/problems/upload-not-landed",
  "title": "Upload not landed",
  "status": 422,
  "detail": "The upload's bytes have not reached storage yet; PUT them to upload_url first.",
  "instance": "/api/v1/assets",
  "request_id": "01JB8Z5W6Q4N3X2V1T0S9R8P7M"
}