A completely ridiculous way to create a gif from security camera images

Hey @fronzbot, I stumbled upon your topic here because I wanted to be able to have my Blink cameras automatically update the picture so I don’t have to keep going into the app and doing it myself. I didn’t want to do the gif part like you did, just update the picture on the two cameras I have. I created a script like you did:

blink_trigger_cameras:
  alias: Script - Blink Trigger Cameras 
  sequence:
    - service: blink.trigger_camera
      data:
          name: "Front Camera"
    - delay: 00:00:10
    - service: blink.trigger_camera
      data:
          name: "Back Camera"
    - delay: 00:00:10
    - service: blink.blink_update

And then I created an automation:

- alias: Blink Automatically Take Picture with Cameras
  trigger:
     platform: time
     minutes: '/20'
     seconds: 00
  action:
    - service: script.blink_trigger_cameras
    - delay: 00:00:10
    - service: camera.snapshot
      entity_id:
          - camera.blink_front_blink_camera
          - camera.blink_back_blink_camera

However I’m getting a couple of weird errors in my log file. The first is this:

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/script.py", line 130, in async_run
    await self._handle_action(action, variables, context)
  File "/usr/src/app/homeassistant/helpers/script.py", line 172, in _handle_action
    action, variables, context)
  File "/usr/src/app/homeassistant/helpers/script.py", line 261, in _async_call_service
    context=context
  File "/usr/src/app/homeassistant/helpers/service.py", line 81, in async_call_from_config
    domain, service_name, service_data, blocking=blocking, context=context)
  File "/usr/src/app/homeassistant/core.py", line 1101, in async_call
    processed_data = handler.schema(service_data)
  File "/usr/local/lib/python3.6/site-packages/voluptuous/schema_builder.py", line 267, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.6/site-packages/voluptuous/schema_builder.py", line 589, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.6/site-packages/voluptuous/schema_builder.py", line 427, in validate_mapping
    raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: required key not provided @ data['filename']

And then every now and again I get a “Cannot obtain new token for server auth” error. Any ideas what would be causing these two errors?