MaxEtMoritz / PNavCopy

IITC Addon that copies Portal Names and Locations to Clipboard or sends them to Discord in the format needed by the PokeNav Discord Bot.
ISC License
5 stars 2 forks source link

2FA Issue? #17

Closed rhondalea closed 2 years ago

rhondalea commented 2 years ago

I thought I had it set up correctly, but I'm getting the following error message: "One or more errors occurred. (The server responded with error 60003: Two factor is required for this operation)"

I have 2FA enabled, so is it telling me I need to turn off 2FA to use the bot/webhook?

This is the output in my Pokenav channel: 220606141728

Also, I just want to say that even though it isn't working for me right now, it's a wonderful tool, and I thank you for taking the time to make it.

MaxEtMoritz commented 2 years ago

I read that Bots reflect the 2FA state of their owners and i don't have it enabled. I'll take a look at the available 2FA options and decide if i'll activate it.

But since the Account is an account shared by the family, i'll probably first create an account for me and transfer the bot to it. I hope this is not that complex, but we'll see.

rhondalea commented 2 years ago

I'll kick the bot and use only the webhook. That should work. I hope.

I'll let you know so you can tell anyone else who has this issue.

Edit: Webhook is fine as long as the bot is removed, but if the bot is on the Discord, the webhook won't work either, even with the box unticked.

MaxEtMoritz commented 2 years ago

Actually, i looked at the bot's logs and it seemed like it was able to download the attachment without 2FA. It just tried to pin the status message and crashed then. If you want you can try it with the bot again, but be sure to revoke the Manage Messages permission, then it will not try to pin the message and should work. That's only as a temporary workaround of course, i will update the Bot when i have time.

MaxEtMoritz commented 2 years ago

Edit: Webhook is fine as long as the bot is removed, but if the bot is on the Discord, the webhook won't work either, even with the box unticked.

Well that's strange, normally the Bot should not prevent the WebHook from working. The only thing i can think of: did you click OK after unchecking the box? Currently the settings are only saved when clicking on OK. If you tried to export before clicking OK that could explain it.