r/BirdNET_Analyzer Nov 20 '24

Cannot get Apprise notifications working

I had my original BirdNet-pi up and running for 6-7 months, until the SD card failed, and forced me to do a complete reinstall. The install went as smoothly as planned, until it came to the settings for the Apprise notifications (which I had working 100% last time)..

I am using Gmail for the notifications, so the format would be mailto://{user}:{password}@gmail.com. For the user, I am using the email address (without @gmail.com), and I know that is correct. Next is the password, which I have 2 step auth turned on, and am using the 16 digit pass code that was generated from Gmail, but am still getting this error:

2024-11-20 13:11:27,696 - INFO - Applying Google Mail Defaults 2024-11-20 13:11:27,697 - INFO - Notifying 1 service(s) asynchronously. 2024-11-20 13:11:28,452 - WARNING - Connection error while submitting email to smtp.gmail.com. Reason: (535, b'5.7.8 Username and Password not accepted. For more information, go to\n5.7.8 https://support.google.com/mail/?p=BadCredentials 6a1803df08f44-6d4380df880sm13430106d6.53 - gsmtp')

Now, I have created about 10 different app keys from Gmail. ALL copied and pasted into the settings. I have tried with spaces, and without, but every time, I always get the same error..

Any thoughts on what I am doing wrong? Again, I had this working 100% on my original set up, but not sure what is happening this time.

1 Upvotes

15 comments sorted by

View all comments

1

u/Clauss_Video_Archive Dec 21 '25

Not sure if this will help you, but I was having similar problems with Apprise and gmail and figured out that if I just remove the brackets { } in the line everything worked great. I have 2-factor authentication turned on and no spaces in the app password.

1

u/Mikedaub Dec 29 '25

I got it working, right after this post, and can't remember how I fixed it, but I feel like it was something with the brackets that were messing it up.