LandonPatmore / yahoo-fantasy-bot

Bot that alerts GroupMe, Discord, and Slack users about various things happening in their Yahoo Fantasy Sports league.
MIT License
83 stars 62 forks source link

No Alerts Coming through #100

Closed realatc closed 2 years ago

realatc commented 2 years ago

I have set up the app in both heroku and yahoo. Configured vars and scheduled days and times, but I have not received anything yet. I was reading through ticket #97 and tried to disable the dynos as suggested here but this then caused an application error when trying to launch. Any information I can provide to assist in resolution? Thanks in advance for your help and what you have built here.

realatc commented 2 years ago

Additional context:

Attempting to have alerts go to discord channel.

Could just be a case of understanding what actually triggers (events in fantasy league?) these alerts to go out. Tried reading through your documentation and may have missed it, but is the api pulling information as its current status at the scheduled time?

Thanks again for your help.

realatc commented 2 years ago

Additional note:

Transaction alerts are not coming through either into discord.

realatc commented 2 years ago

Just reset dynos...looks like its attempting to grab data but indicating a null value... posting logs here as an fyi in case it helps. Thanks again for your help.

yff-discord-logs-1631109476703.txt

LandonPatmore commented 2 years ago

Interesting, I'll have a look tonight after work. Haven't seen that before.

realatc commented 2 years ago

Hey there - just wanted to see if there is anything else I can provide to help you with this review? Thanks again for your help.

LandonPatmore commented 2 years ago

Still looking, I bet it is something with their API. Let's try this. Can you nuke the bot and then recreate it again? I want to see if it is still happening. If so then we have bigger problems. You are the only person I have seen with null in the logs. So I am assuming its a config error.

jmh17 commented 2 years ago

Seeing similar issues. Nuked it twice and recreated but no alerts coming through. We get the initial Bot Message Alert but nothing after setting up alerts. Let me know if you need other information.

LandonPatmore commented 2 years ago

Do you have logs as well @jmh17 ? Now I am concerned...

realatc commented 2 years ago

Seeing similar issues. Nuked it twice and recreated but no alerts coming through. We get the initial Bot Message Alert but nothing after setting up alerts. Let me know if you need other information.

Always good to know I am not losing it 😂

@LandonPatmore nuked the first bot. Will be working on trying to reinstall again in the morning. One thing I didn't mention, but jmh17 did is that I also received the initial bot messages in my discord channel, but nothing more after.

Thanks all! Will report back once I try again.

jmh17 commented 2 years ago

Do you have logs as well @jmh17 ? Now I am concerned...

Any direction on where I can get the logs? I poked around but didn’t see anything. We are using discord as well.

LandonPatmore commented 2 years ago

These would be in heroku on the right side if you click the drop down there should be a logs button.

jmh17 commented 2 years ago

We did the Add/Drop alert this morning. I added some more alerts today but nothing else has come through. yourmomsbot-logs-1631712110169.txt

jmh17 commented 2 years ago

FYI, it is now working.

realatc commented 2 years ago

FYI, it is now working.

Nice! What changes did you make?

realatc commented 2 years ago

Just did the rebuild. Deployed and everything to heroku but now can't get past the authentication error (followed the instructions again exactly). Not sure why this time I cannot get around this...ugh.

edit - error with authenticating was I did not update on yahoo side the callback url /facepalm. Will report back any changes now as I can confirm the app has been authenticated.

realatc commented 2 years ago

And we have alerts now. No idea what I may have done differently this time, but tested a transaction and it came right through. Appreciate the input and help everyone. Hopefully this helps outline for others in the future. Closing ticket.