Ticket: Unable to integrate Discord: Invalid redirect URI issue.
@KΛZ |くたくた | Ø⅄ꓘ Just created a ticket
Question: Trying to add discord but getting: http://localhost:5000/integrations/social/%3Canonymous%20code%3E
Attempted: I have tried adding the discord client id, secret and bot token id. Including the redirect in the discord but which is: http://localhost:5000/integrations/social/discord
Working On: I am trying to setup my first providers to see how postiz works. So far I got it to run locally but other then that I couldn't do more sadly.
Take it from here @Mod 🔥
Question: Trying to add discord but getting: http://localhost:5000/integrations/social/%3Canonymous%20code%3E
Attempted: I have tried adding the discord client id, secret and bot token id. Including the redirect in the discord but which is: http://localhost:5000/integrations/social/discord
Working On: I am trying to setup my first providers to see how postiz works. So far I got it to run locally but other then that I couldn't do more sadly.
Take it from here @Mod 🔥
27 Replies
This is my current docker-compose.
Hi @KΛZ |くたくた | Ø⅄ꓘ this thread is closed for now, please open a new one if you need more help
Sorry about that
So Discord works for you locally but not in production?
All good.
Doesn't work for me locally as well. I can't seem to import it at all.
There is a bug we encountered last day
does your bot have a picture?
Nope none
Great
can you add one
and try again?
both the bot and the app
So I added one for the bot but what do you mean by the app?
Also i tried again and now I am getting a Invalid Form Body.
Did you connect other providers so far?
None so far. Only tried discord so far.
Did you configure CF or local uploading?
What do you mean by CF or local uploading?
Cloudflare
r2
I set it up like listed in the docker file to have local uploading.
Can you give the bot all the permissions in discord
and then try again?
The bot has administration permissions.
Can you try to add the bot this
I did and I still get Invalid Form Body
Did you add a picture both to the bot and the app?
Yes to bot.
When you add it to the App it gets used for the bot as well luckily.
Can you do it seperately?
like add one for the bot also
not inherit from the app?
Done and still doesn't work.
@KΛZ |くたくた | Ø⅄ꓘ I just confused this myself and did some testing.
When you say it "still doens't work", could you please try and post some error messages, or explain what is happening? Thanks! https://docs.postiz.com/support#how-to-effectively-ask-for-support
Well I have been going through the main process of adding the bot into the Postiz app.
At first I got Invalid Redirect URI issue.
Now as it seemed the Icon was the issue, I can to the next step which was "Invalid Form Body"
Here I don't get any errors.
If you need a visual for this you can see below.
Oh that is very strange
This is when you're just tring to add Discord as a channel, right?
Correct.
I have noticed that I aint the only one who has been having this issue as well.