# Report asset upload as failed The assets operations are deprecated in 2.0. Use the /videos endpoints instead. This operation reports that an asset uploaded to storage failed. You can only upload MP4 format and H.264 and AAC encoded files. Any files with unsupported codecs are rejected. Endpoint: PATCH /assets/{id}/upload_failed Version: v2.0 ## Path parameters: - `id` (string, required) The unique alphanumeric string that identifies the asset. ## Request fields (application/json): - `asset` (object, required) - `asset.reason` (string, required) A description of why the upload failed. Example: "Token expired" - `asset.status` (string, required) The status code returned by the server. Example: 404 ## Response 200 fields (application/json): - `asset` (object, required) - `asset.id` (string) The unique alphanumeric string that identifies the asset Example: "i4qsbwvi" - `asset.name` (string) A descriptive name for the live stream. Maximum 200 characters. Example: "My Asset" - `asset.tags` (array) A list of tags associated with the asset. Example: ["Tag1","Tag2","Tag3"] - `asset.recording_id` (string) An ID for the recording. You can use this to fetch additional information about the recording associated with the asset. Example: "l8qsbwvu" - `asset.state` (string) The state of the asset. Enum: "uploading", "processing", "completed", "failed" - `asset.created_at` (string) The date and time that the asset was created in Coordinated Universal Time (UTC) format. Dates are formatted as follows: YYYY-DD-MMTHH:MM:SSZ using 24-hour clock ("military") time and including the T and Z. The T marks the end of the date portion and the Z represents zero UTC time offset. Example: "2021-06-30T18:02:20.000Z" - `asset.updated_at` (string) The date and time that the asset was updated in Coordinated Universal Time (UTC) format. Dates are formatted as follows: YYYY-DD-MMTHH:MM:SSZ using 24-hour clock ("military") time and including the T and Z. The T marks the end of the date portion and the Z represents zero UTC time offset. Example: "2021-06-30T18:02:20.000Z" - `asset.average_view_time` (integer) The average time that the asset has been viewed in seconds. For example, 12580 seconds would be 3.5 hours. Example: 12580 - `asset.file_name` (string) The name of the mp4 file you uploaded. Note: To avoid file management issues in storage, Wowza Video removes or replaces special characters in file names. Example: "MyAsset.mp4" - `asset.processing_percentage` (integer) A percentage that describes how soon transcoding will complete. Example: 100 ## Response 401 fields (application/json): - `meta` (object, required) - `meta.status` (integer) - `meta.code` (string) - `meta.title` (string) - `meta.message` (string) - `meta.description` (string) - `meta.links` (array) ## Response 403 fields (application/json): - `meta` (object, required) - `meta.status` (integer) - `meta.code` (string) - `meta.title` (string) - `meta.message` (string) - `meta.description` (string) - `meta.links` (array) ## Response 404 fields (application/json): - `meta` (object, required) - `meta.status` (integer) - `meta.code` (string) - `meta.title` (string) - `meta.message` (string) - `meta.description` (string) - `meta.links` (array) ## Response 410 fields (application/json): - `meta` (object, required) - `meta.status` (integer) - `meta.code` (string) - `meta.title` (string) - `meta.message` (string) - `meta.description` (string) - `meta.links` (array) ## Response 422 fields (application/json): - `meta` (object, required) - `meta.status` (integer) - `meta.code` (string) - `meta.title` (string) - `meta.message` (string) - `meta.description` (string) - `meta.links` (array)