P
Postiz•2mo ago
Support

Ticket: SyntaxError when adding social media provider

@Brotherperson Just created a ticket
Question: With every provider i try to add(fb, x, tiktok etc) i get the following error: 2024-12-23 14:42:04,314 INFO success: backend entered RUNNING state, process has stayed up for > than 10 seconds (startsecs) SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at JSON.parse (<anonymous>) at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19) at successSteps (node:internal/deps/undici/undici:5454:27) at fullyReadBody (node:internal/deps/undici/undici:4381:9) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async consumeBody (node:internal/deps/undici/undici:5463:7) at async it (/app/dist/apps/frontend/.next/server/app/(site)/integrations/social/[provider]/continue/page.js:3:27234) { digest: '1495808870' }
Attempted: Change the API url (from postiz.website.com/api to localhost:3000), opening the firewall, removing https:// from the urls, seeking missing parameters (found 2 still)
Working On: Still starting and installing/adding social media
Using Postiz On: Unraid
Take it from here @Postiz
4 Replies
Brotherperson
Brotherperson•2mo ago
No description
Support
SupportOP•2mo ago
@Postiz please help @Brotherperson
Brotherperson
Brotherperson•2mo ago
Found the fix: Container Variable: BACKEND_INTERNAL_URL should be set to: http://localhost:3000 But it was set to https://postiz.my-website.xyz making it fail to connect to the backend. @egelhaus this can be closed 😄
Support
SupportOP•2mo ago
This thread is now closed! Feel free to open a new one if you need help

Did you find this page helpful?