Data Types

FormDataUploadResponse

Response body for FormDataUpload.

{
"errors": [
{
"error": {
"code": "error_code",
"message": "Error message.",
"timestamp": "2024-11-14T15:19:29.471Z"
},
"formDataFieldName": "file"
}
],
"files": [
{
"accountId": "YOUR_ACCOUNT_ID",
"etag": "33a64df551425fcc55e4d42a148795d9f25f89d4",
"filePath": "/uploads/file.txt",
"fileUrl": "https://upcdn.io/A623uY2/raw/uploads/file.txt",
"formDataFieldName": "file"
}
]
}

Error from a failed FormDataUpload request.

Type: FormDataUploadResponseError[]

Min Items: 1

File uploaded by a successful FormDataUpload request.

Type: FormDataUploadResponseFile[]

Min Items: 1

Was this section helpful? Yes No

You are using an outdated browser.

This website requires a modern web browser -- the latest versions of these browsers are supported: