404 Error on notification banner iOS

Hi, I am trying to set up an automation to notify me of events from my cameras. I have used the blueprint UI and have my HA external URL working fine. When the notification comes through, the snapshot image on the banner itself shows a 404 error. When I click on any of the links on the notification ie. view snapshot or view clip they work perfectly as well as the live stream.

I have tried reinstalling / configuring etc, I have added a delay, I have checked all my links / urls etc and I cannot find the issue.

Automation:


alias: Notify Mat of Motion
description: ""
use_blueprint:
  path: SgtBatten/Stable.yaml
  input:
    camera:
      - camera.driveway
      - camera.garden
      - camera.side
      - camera.side2
    notify_device: bdd83aca997a2490498c53264c3127c2
    base_url: https://ha.35turnpike.info
    video: >-
      {{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/master.m3u8
    final_update: true
    tap_action: >-
      {{base_url}}/api/camera_proxy_stream/camera.{{trigger.payload_json['after']['camera']
      | lower | replace('-','_')}}?token={{state_attr( 'camera.' ~ camera,
      'access_token')}}
    url_1: >-
      {{base_url}}/api/camera_proxy_stream/camera.{{trigger.payload_json['after']['camera']
      | lower | replace('-','_')}}?token={{state_attr( 'camera.' ~ camera,
      'access_token')}}
    initial_delay: 2
    attachment: "{{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/snapshot.jpg"
    cooldown: 60
    button_1: Live View

Frigate config:


ffmpeg:
  output_args:
    record: preset-record-generic-audio-aac



mqtt:
  host: core-mosquitto
  port: 1883
  user: xxxxxxxxxxxxx          # the HA user you created
  password: xxxxxxxxxxxxxxxxx    # your real password here
  topic_prefix: frigate
  client_id: frigate-mat
detectors:
  cpu1:
    type: cpu

database:
  path: /media/frigate/frigate.db

record:
  enabled: true
  retain:
    days: 7          # keep motion recordings 7 days
    mode: motion     # record only on motion (not 24/7)

snapshots:
  enabled: true
  timestamp: true
  bounding_box: true
  retain:
    default: 7

birdseye:
  enabled: true
  mode: objects

cameras:
  driveway:
    ffmpeg:
      inputs:
        - path: 
            rtsp://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          roles: [detect]
        - path: 
            rtsp://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          roles: [record]
    detect: {width: 640, height: 360, fps: 5}
    objects: {track: [person, car, truck, bicycle], filters: {car: {mask: '0.257,0.057,0,0.323,0.01,0.888,0.519,0.292,0.321,0.036'}}}
    snapshots: {enabled: true}
    motion: {}
  garden:
    ffmpeg:
      inputs:
        - path: 
            rtsp://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          roles: [detect]
        - path: 
            rtsp://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          roles: [record]
    detect: {width: 640, height: 360, fps: 5}
    objects: {track: [person, dog, cat]}
    snapshots: {enabled: true}
  side2:
    ffmpeg:
      inputs:
        - path: 
            rtsp://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          roles: [detect]
        - path: 
            rtsp://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          roles: [record]
    detect: {width: 640, height: 360, fps: 5}
    objects: {track: [person, dog, cat]}
    snapshots: {enabled: true}
  side:
    ffmpeg:
      inputs:
        - path: 
            rtsp://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          roles: [detect]
        - path: 
            rtsp://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          roles: [record]
    detect: {width: 640, height: 360, fps: 5}
    objects: {track: [person]}
    snapshots: {enabled: true}
detect:
  enabled: true
version: 0.16-0

I’m also experiencing this issue periodically. Though I’m not using the blueprint - i’m accessing the snapshot via the api https://.ui.nabu.casa/api/frigate/notifications/{{
id }}/snapshot.jpg?crop=1&bbox=1&quality=100

Seems intermittent but happening more often recently

did you solve it? i have the same exact issue