caronc / apprise-api

A lightweight REST framework that wraps the Apprise Notification Library
https://hub.docker.com/r/caronc/apprise
MIT License
638 stars 56 forks source link

Groups are not working with Apprise-API #146

Closed caronc closed 9 months ago

caronc commented 10 months ago

Discussed in https://github.com/caronc/apprise-api/discussions/144

Originally posted by **gorrilla10101** November 8, 2023 I was using the apprise ui to configure and test. if I call the tags directly this configuration works however `POST /notify/recipes` does not work. Instead it returns `424 (Failed Dependency)`. I didn't see anything more meaningful in the api logs than I got from the http response. ```log 2023-11-07 23:19:01,290 [WARNING] django: APPRISE_DENY_SERVICES plugin macos:// was not found - ignoring. 2023-11-07 23:19:01,304 [INFO] apprise: Loaded 2 entries from memory:// 2023-11-07 23:19:01,307 [WARNING] django.request: Failed Dependency: /notify/recipes127.0.0.1 - - [08/Nov/2023:05:19:01 +0000] "POST /notify/recipes HTTP/1.1" 424 190 "http://localhost:8000/cfg/recipes" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0" ``` This is my yaml file ```yaml version: 1 groups: recipes: user1, user2 urls: - mailgun:///noreply@mg.example.com/{token}: - to: user1@example.com tag: user1 - to: user2@example.com tag: user2 ```
caronc commented 9 months ago

This should now work as intended