Skip to main content
← All developer updates
improvement

Include the file size when requesting an upload

When requesting an upload link through preSignedUrl, include FileUploadInput.fileSize. Files must be 25 MB or smaller, and the uploaded file must match the declared size.

Rejected upload requests now return a validation error with code E0004, rather than upload_request or an empty result. Update any code that relies on those earlier failure responses.