MQTT notifications that lead to missing thumbnails and clips #13989
-
I've been trying to track down a recurring issue with notifications from Frigate to the Frigate integration via MQTT to a mobile notification. Most of the time, after updating to Frigate 0.14, I get a notification via MQTT that results in a thumbnail that just shows "Can't load attachment" with a status code of 404 (not found). When I try to open the notification, I get the following message: I've started logging the thumbnail and clip path that I construct when I receive a notification in the
When I search for that event ID in the directory where all my Frigate artifacts are stored, I see exactly one match with the same time:
That appears to just be a thumbnail and I don't see a clip anywhere with that timestamp. If I try to manually load either the clip or thumbnail using the API paths that I constructed above, I can repro the "not found" error: This same issue repeated a few minutes later:
With the same errors occuring during the notification and when I manually try to pull the thumbnail or clip manually via the browser. It seems like there's some name mangling going on to transform the filename into how to refer to it via the integration API, but I can't figure out what's going wrong here. Is an artifact missing? Or I am constructing the wrong path? The camera is working fine in Frigate - I can view snapshots and live video. Camera config is here:
Detect, motion, recording, and snapshots were all enabled via HA when both of these events occurred. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
You are confusing concepts here. You are using the id from review item and then trying to use it with an api that expects an event id, so naturally it will say it can not be found. |
Beta Was this translation helpful? Give feedback.
You said you can see
./clips/review/thumb-family_room-1727358643.126067-8t8d67.webp
that means1727358643.126067-8t8d67
is a review item ID not an event ID. You can not use that thumbnail or the clip API with review item IDs