> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: onFileDescriptorFileFailed(event: FileDescriptorFileFailed) # Method package: wixMediaV2 # Method menu location: wixMediaV2 --> onFileDescriptorFileFailed # Method Link: https://dev.wix.com/docs/velo/events-service-plugins/media/events/on-file-descriptor-file-failed.md # Method Description: Triggered when a file fails during essential post-upload processing. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## An event that triggers when a file fails during essential post-upload processing ```javascript // Place this code in the events.js file // of your site's Backend section. // Add the file if it doesn't exist. export function wixMediaSiteMedia_onFileDescriptorFileFailed(event) { const eventTime = event.metadata.eventTime; const entityId = event.metadata.entityId; console.log(`File with ID ${entityId} failed during essential post-upload processing at ${eventTime}.`); } /* Full event object: * { * "data": { * "externalInfo": {} * }, * "metadata": { * "entityId": "d4dde1_f6660fb1274c41bf87514db2f5926ae0", * "eventTime": "2023-09-18T10:27:33.046Z", * "id": "8cf0189d-9f49-45c5-9f3c-bc7928a42e34", * "triggeredByAnonymizeRequest": false * } * } */ ``` ---