PLuG stops responding to clients when they send a photo
ART-17220_KNOWLEDGE_NODE-10
|\n```\n\nDelay response (for rate limiting)\n\n```\n|  |  |\n| --- | --- |\n| 1 | await adapter.emit(ExtractorEventType.ExtractionAttachmentsDelay, { |\n| 2 | delay: "30",  // Delay in seconds |\n| 3 | }); |\n```\n\nError response\n\n```\n|  |  |\n| --- | --- |\n| 1 | await adapter.emit(ExtractorEventType.ExtractionAttachmentsError, { |\n| 2 | error: "Informative error message", |\n| 3 | }); |\n```\n\n##### \n\nThe snap-in must always emit exactly one response event.\n\nWas this page
Attachments extraction | DevRev | Docs
ART-17220_KNOWLEDGE_NODE-9
console.warn(\'Failed attachment metadata\', item); |\n| 22 | } |\n| 23 |  |\n| 24 | return { |\n| 25 | error: { |\n| 26 | message: `Failed to fetch attachment ${id} from URL.`, |\n| 27 | }, |\n| 28 | }; |\n| 29 | } |\n| 30 | } |\n```\n\nEmitting responses\n------------------\n\nThe snap-in must send exactly one response to AirSync when extraction is complete:\n\nSuccess response\n\n```\n|  |  |\n| --- | --- |\n| 1 | await adapter.emit(ExtractorEventType.ExtractionAttachmentsDone);
Attachments extraction | DevRev | Docs