P
Postiz2mo ago
Support

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 🔥
27 Replies
KΛZ |くたくた | Ø⅄ꓘ
This is my current docker-compose.
Support
SupportOP2mo ago
Hi @KΛZ |くたくた | Ø⅄ꓘ this thread is closed for now, please open a new one if you need more help
Nevo David
Nevo David2mo ago
Sorry about that So Discord works for you locally but not in production?
KΛZ |くたくた | Ø⅄ꓘ
All good. Doesn't work for me locally as well. I can't seem to import it at all.
Nevo David
Nevo David2mo ago
There is a bug we encountered last day does your bot have a picture?
Nevo David
Nevo David2mo ago
Great can you add one and try again? both the bot and the app
KΛZ |くたくた | Ø⅄ꓘ
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.
Nevo David
Nevo David2mo ago
Did you connect other providers so far?
KΛZ |くたくた | Ø⅄ꓘ
None so far. Only tried discord so far.
Nevo David
Nevo David2mo ago
Did you configure CF or local uploading?
KΛZ |くたくた | Ø⅄ꓘ
What do you mean by CF or local uploading?
Nevo David
Nevo David2mo ago
Cloudflare r2
KΛZ |くたくた | Ø⅄ꓘ
I set it up like listed in the docker file to have local uploading.
Nevo David
Nevo David2mo ago
Can you give the bot all the permissions in discord and then try again?
KΛZ |くたくた | Ø⅄ꓘ
The bot has administration permissions.
Nevo David
Nevo David2mo ago
Can you try to add the bot this
No description
KΛZ |くたくた | Ø⅄ꓘ
I did and I still get Invalid Form Body
Nevo David
Nevo David2mo ago
Did you add a picture both to the bot and the app?
KΛZ |くたくた | Ø⅄ꓘ
Yes to bot. When you add it to the App it gets used for the bot as well luckily.
Nevo David
Nevo David2mo ago
Can you do it seperately? like add one for the bot also not inherit from the app?
KΛZ |くたくた | Ø⅄ꓘ
Done and still doesn't work.
xcons
xcons2mo ago
@KΛZ |くたくた | Ø⅄ꓘ I just confused this myself and did some testing.
xcons
xcons2mo ago
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
Postiz Documentation
Support – Postiz Docs
Postiz - Open source social media scheduling tool
KΛZ |くたくた | Ø⅄ꓘ
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.
No description
xcons
xcons2mo ago
Oh that is very strange This is when you're just tring to add Discord as a channel, right?
KΛZ |くたくた | Ø⅄ꓘ
Correct. I have noticed that I aint the only one who has been having this issue as well.

Did you find this page helpful?