Cloudbox / autoscan

Autoscan replaces the default Plex and Emby behaviour for picking up changes on the file system.
MIT License
610 stars 55 forks source link

Setup error Required Fields missing. #157

Closed ashipaek0 closed 1 year ago

ashipaek0 commented 2 years ago

Hello.

Complete noob here trying to use this awesome software.

apparently i have misconfigured my setup because i have this in the logs:

Apr 27 16:41:07 WRN No target libraries found error=": failed determining library" target=jellyfin url=https://myserverurl:443
Apr 27 16:42:11 ERR Required fields are missing id=c9km8kuc7jlu8bjearng method=POST url=/triggers/radarr
Apr 27 16:56:29 ERR Required fields are missing id=c9kmfbec7jlu8bjearo0 method=POST url=/triggers/radarr
Apr 27 17:21:17 ERR Required fields are missing id=c9kmqvec7jlu8bjearog method=POST url=/triggers/lidarr

my config:

# port for Autoscan webhooks to listen on
port: 3030
minimum-age: 5m
scan-delay: 15s
anchors:
  - /home/jellyfin/media/mounted.bin

triggers:
  radarr:
    - name: radarr   # /triggers/radarr
      priority: 2

  sonarr:
    - name: sonarr # /triggers/sonarr
      priority: 2

  lidarr:
    - name: lidarr # /triggers/lidarr
      priority: 2

targets:
  jellyfin:
    - url: https://myserverurl:443 # URL of your Jellyfin server
      token: redacted # Jellyfin API Token
steRnbear87 commented 2 years ago

I am also having this issue but with Sonarr.

saltydk commented 2 years ago

You've probably enabled one of the unsupported notifications triggers inside of Sonarr/Radarr. My initial guess would be that you have grab/health/app update enabled.

m-rots commented 1 year ago

This is most likely a configuration issue. As @saltydk has stated, not all event types are supported. Please only enable the events specified in the readme.