flakas / reconbot

A tool to post EVE Online notifications to Slack or Discord
MIT License
21 stars 19 forks source link

bad request when sending message to discord #4

Closed xinc closed 6 years ago

xinc commented 6 years ago

edit

ysm1mh commented 6 years ago

same issue here. tried so many times. mades new bots and still nothing. maybe some to do with 2FA ??

flakas commented 6 years ago

Thanks for including logging information. It's easier to see that the notification itself looks reasonable, isn't too long to be accepted by Discord API.

However, I'm still puzzled as to why it's happening - thus far I'm unable to reproduce the issue - with correct details and Discord set up in a straightforward way (without any required permissions) it seems to be working.

The closest hint I found in a different project is here, where they had issues with Discord responding HTTP 400 BAD REQUEST: Unauthorized due to how connection was used in the app. Will dig into it deeper.


maybe some to do with 2FA ??

I doubt it is. Access tokens are for the bot user, not your personal Discord account.