Impossible to log in any SM account on Postiz
-
@BrutalBirdie thanks for the effort. Please tell if you need some debuging infos from our side.
-
Hello,
After I created an app on linkedIn, and added in the .env the :
LINKEDIN_CLIENT_ID="XXXX"
LINKEDIN_CLIENT_SECRET="XXXX"I restarted the app multiple times and still got the same error. Idk what to do..

@Dont-Worry
Did you really follow all these steps? https://docs.postiz.com/providers/linkedinWant to make sure before I do them

-
For our side I can say that we followed all steps at https://docs.postiz.com/providers/instagram and put the resulting credentials in the
env.shfile and reloaded the app. When we want to add Instagram as a channel we are linked out to an error page on meta/facebook that says "App ID invalid"

Looking at the linkout URL it seems the client_id is not set.

If I set the
client_idparameter manually to ourFACEBOOK_APP_IDfromenv.shthe authorisation process starts. At first it looks to go through, but after redirecting to Postiz I get this error:
Log file at this time:
Apr 24 09:36:34 13:M 24 Apr 2025 07:36:34.012 * 10 changes in 300 seconds. Saving... Apr 24 09:36:34 13:M 24 Apr 2025 07:36:34.013 * Background saving started by pid 3078 Apr 24 09:36:34 13:M 24 Apr 2025 07:36:34.114 * Background saving terminated with success Apr 24 09:36:34 3078:C 24 Apr 2025 07:36:34.020 * DB saved on disk Apr 24 09:36:34 3078:C 24 Apr 2025 07:36:34.021 * Fork CoW for RDB: current 0 MB, peak 0 MB, average 0 MB Apr 24 09:38:29 2025-04-24T07:38:29Z Apr 24 09:38:29 2025-04-24T07:38:29Z Apr 24 09:38:29 [Nest] 130 - 04/24/2025, 7:38:29 AM WARN OpenAI API key not set, chat functionality will not work Apr 24 09:38:29 Node.js v20.18.2 Apr 24 09:38:29 UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<RefreshToken>". Apr 24 09:38:29 ^ Apr 24 09:38:29 at process.processTicksAndRejections (node:internal/process/task_queues:96:32) { Apr 24 09:38:29 at processPromiseRejections (node:internal/process/promises:470:17) Apr 24 09:38:29 at throwUnhandledRejectionsMode (node:internal/process/promises:389:7) Apr 24 09:38:29 code: 'ERR_UNHANDLED_REJECTION' Apr 24 09:38:29 new UnhandledPromiseRejection(reason); Apr 24 09:38:29 node:internal/process/promises:389 Apr 24 09:38:29 {"error":{"message":"Missing or invalid client id.","type":"OAuthException","code":101,"fbtrace_id":"AQjOzXIs8yqUOOGZn6sXIys"}} Apr 24 09:38:29 } Apr 24 09:38:30 TypeError: fetch failed Apr 24 09:38:30 [cause]: SocketError: other side closed Apr 24 09:38:30 at Socket.<anonymous> (node:internal/deps/undici/undici:6294:28) Apr 24 09:38:30 at Socket.emit (node:events:530:35) Apr 24 09:38:30 at async /app/code/dist/apps/frontend/.next/server/app/(site)/integrations/social/[provider]/continue/page.js:3:28297 Apr 24 09:38:30 at async ic (/app/code/dist/apps/frontend/.next/server/app/(site)/integrations/social/[provider]/continue/page.js:3:26983) { Apr 24 09:38:30 at endReadableNT (node:internal/streams/readable:1698:12) Apr 24 09:38:30 at node:internal/deps/undici/undici:13502:13 Apr 24 09:38:30 at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { Apr 24 09:38:30 bytesRead: 0 Apr 24 09:38:30 bytesWritten: 1844, Apr 24 09:38:30 code: 'UND_ERR_SOCKET', Apr 24 09:38:30 digest: '1372167340', Apr 24 09:38:30 localAddress: '::1', Apr 24 09:38:30 localPort: 55620, Apr 24 09:38:30 npm notice Apr 24 09:38:30 npm notice Apr 24 09:38:30 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.3.0 Apr 24 09:38:30 npm notice New major version of npm available! 10.8.2 -> 11.3.0 Apr 24 09:38:30 npm notice To update run: npm install -g npm@11.3.0 Apr 24 09:38:30 remoteAddress: '::1', Apr 24 09:38:30 remoteFamily: 'IPv6', Apr 24 09:38:30 remotePort: 3000, Apr 24 09:38:30 socket: { Apr 24 09:38:30 timeout: undefined, Apr 24 09:38:30 {"level":"error","ts":1745480310.3278437,"logger":"http.log.error","msg":"EOF","request":{"remote_ip":"172.18.0.1","remote_port":"35770","client_ip":"172.18.0.1","proto":"HTTP/1.1","method":"POST","host":"postiz.claudron.OURSERVER.de","uri":"/api/copilot/chat","headers":{"Origin":["https://postiz.claudron.OURSERVER.de"],"X-Forwarded-Host":["postiz.claudron.OURSERVER.de"],"X-Forwarded-Port":["443"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Fetch-Mode":["cors"],"Priority":["u=1, i"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36"],"Sec-Ch-Ua-Platform":["\"macOS\""],"Accept":["application/graphql-response+json, application/graphql+json, application/json, text/event-stream, multipart/mixed"],"X-Forwarded-Proto":["https"],"Sec-Fetch-Site":["same-origin"],"Sec-Fetch-Dest":["empty"],"X-Real-Ip":["46.223.213.127"],"Connection":["close"],"Referer":["https://postiz.claudron.OURSERVER.de/integrations/social/instagram?code=AQBnG8A4zYRd27Sa7_7BS78Igi0DyhPcl3jdoC75v7nu9SXxTlRoih2h3SwYMXLe0RY2IShhTSyfrEWsdYPimvWBdacLR-fGJy1Pwz3nHj8DsxPnrgJT-2ymi0oXZy-gxkfBc5Fqiw9hGD3OnXWnFwnw-3QwFeWDLm3-uu5uoro2tO9PxQPPFftrCpHlwz26p86UiNkkJWrDY2VE9b04esMKejCKrWRtU7R8yBt3gz4tcGr1V97KFQASK-K7bsKBuSaIJZi8mpc-aiWLSBhvHc5pUux4g7gqKSGeM9kbvFnFy3F1PH7nxKWQLeIlARyRvGbi4-3nEPm8Rfw_ABah-GdN21sO-mWp3iqfhcSlHiHT0PwAVYhUHnZ59J-X_B9Zr41j0L3lbiDfVFdJqag0OOR_a9oWDKc7XCzT0FIAOCGvdg&state=zlLtoo"],"Sec-Ch-Ua":["\"Chromium\";v=\"135\", \"Not-A.Brand\";v=\"8\""],"Dnt":["1"],"X-Copilotkit-Runtime-Client-Gql-Version":["1.8.5"],"X-Forwarded-For":["46.223.213.127"],"X-Forwarded-Ssl":["on"],"Content-Length":["209"],"Cookie":["REDACTED"],"Accept-Language":["en-GB,en-US;q=0.9,en;q=0.8"],"Content-Type":["application/json"],"Sec-Ch-Ua-Mobile":["?0"]}},"duration":0.829163942,"status":502,"err_id":"nxr9zs32h","err_trace":"reverseproxy.statusError (reverseproxy.go:1373)"} Apr 24 09:38:30 } Apr 24 09:38:30 } Apr 24 09:38:30 } Apr 24 09:38:31 2025-04-24 07:38:31,012 WARN exited: backend (exit status 1; not expected) Apr 24 09:38:32 2025-04-24 07:38:32,146 INFO spawned: 'backend' with pid 192 Apr 24 09:38:33 2025-04-24T07:38:33Z Apr 24 09:38:33 2025-04-24T07:38:33Z Apr 24 09:38:33 2025-04-24 07:38:33,120 INFO success: backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Apr 24 09:38:33 > gitroom@0.0.0 start:prod Apr 24 09:38:33 > node dist/apps/backend/main.jsAfter Postiz has restarted and I retry the redirect URL I get this error:

This is the redirect URL:
https://postiz.claudron.OURSERVER.de/integrations/social/instagram?code=AQDvNogLUgbQ-BA....Not sure what to try next.
-
For our side I can say that we followed all steps at https://docs.postiz.com/providers/instagram and put the resulting credentials in the
env.shfile and reloaded the app. When we want to add Instagram as a channel we are linked out to an error page on meta/facebook that says "App ID invalid"

Looking at the linkout URL it seems the client_id is not set.

If I set the
client_idparameter manually to ourFACEBOOK_APP_IDfromenv.shthe authorisation process starts. At first it looks to go through, but after redirecting to Postiz I get this error:
Log file at this time:
Apr 24 09:36:34 13:M 24 Apr 2025 07:36:34.012 * 10 changes in 300 seconds. Saving... Apr 24 09:36:34 13:M 24 Apr 2025 07:36:34.013 * Background saving started by pid 3078 Apr 24 09:36:34 13:M 24 Apr 2025 07:36:34.114 * Background saving terminated with success Apr 24 09:36:34 3078:C 24 Apr 2025 07:36:34.020 * DB saved on disk Apr 24 09:36:34 3078:C 24 Apr 2025 07:36:34.021 * Fork CoW for RDB: current 0 MB, peak 0 MB, average 0 MB Apr 24 09:38:29 2025-04-24T07:38:29Z Apr 24 09:38:29 2025-04-24T07:38:29Z Apr 24 09:38:29 [Nest] 130 - 04/24/2025, 7:38:29 AM WARN OpenAI API key not set, chat functionality will not work Apr 24 09:38:29 Node.js v20.18.2 Apr 24 09:38:29 UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<RefreshToken>". Apr 24 09:38:29 ^ Apr 24 09:38:29 at process.processTicksAndRejections (node:internal/process/task_queues:96:32) { Apr 24 09:38:29 at processPromiseRejections (node:internal/process/promises:470:17) Apr 24 09:38:29 at throwUnhandledRejectionsMode (node:internal/process/promises:389:7) Apr 24 09:38:29 code: 'ERR_UNHANDLED_REJECTION' Apr 24 09:38:29 new UnhandledPromiseRejection(reason); Apr 24 09:38:29 node:internal/process/promises:389 Apr 24 09:38:29 {"error":{"message":"Missing or invalid client id.","type":"OAuthException","code":101,"fbtrace_id":"AQjOzXIs8yqUOOGZn6sXIys"}} Apr 24 09:38:29 } Apr 24 09:38:30 TypeError: fetch failed Apr 24 09:38:30 [cause]: SocketError: other side closed Apr 24 09:38:30 at Socket.<anonymous> (node:internal/deps/undici/undici:6294:28) Apr 24 09:38:30 at Socket.emit (node:events:530:35) Apr 24 09:38:30 at async /app/code/dist/apps/frontend/.next/server/app/(site)/integrations/social/[provider]/continue/page.js:3:28297 Apr 24 09:38:30 at async ic (/app/code/dist/apps/frontend/.next/server/app/(site)/integrations/social/[provider]/continue/page.js:3:26983) { Apr 24 09:38:30 at endReadableNT (node:internal/streams/readable:1698:12) Apr 24 09:38:30 at node:internal/deps/undici/undici:13502:13 Apr 24 09:38:30 at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { Apr 24 09:38:30 bytesRead: 0 Apr 24 09:38:30 bytesWritten: 1844, Apr 24 09:38:30 code: 'UND_ERR_SOCKET', Apr 24 09:38:30 digest: '1372167340', Apr 24 09:38:30 localAddress: '::1', Apr 24 09:38:30 localPort: 55620, Apr 24 09:38:30 npm notice Apr 24 09:38:30 npm notice Apr 24 09:38:30 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.3.0 Apr 24 09:38:30 npm notice New major version of npm available! 10.8.2 -> 11.3.0 Apr 24 09:38:30 npm notice To update run: npm install -g npm@11.3.0 Apr 24 09:38:30 remoteAddress: '::1', Apr 24 09:38:30 remoteFamily: 'IPv6', Apr 24 09:38:30 remotePort: 3000, Apr 24 09:38:30 socket: { Apr 24 09:38:30 timeout: undefined, Apr 24 09:38:30 {"level":"error","ts":1745480310.3278437,"logger":"http.log.error","msg":"EOF","request":{"remote_ip":"172.18.0.1","remote_port":"35770","client_ip":"172.18.0.1","proto":"HTTP/1.1","method":"POST","host":"postiz.claudron.OURSERVER.de","uri":"/api/copilot/chat","headers":{"Origin":["https://postiz.claudron.OURSERVER.de"],"X-Forwarded-Host":["postiz.claudron.OURSERVER.de"],"X-Forwarded-Port":["443"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Fetch-Mode":["cors"],"Priority":["u=1, i"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36"],"Sec-Ch-Ua-Platform":["\"macOS\""],"Accept":["application/graphql-response+json, application/graphql+json, application/json, text/event-stream, multipart/mixed"],"X-Forwarded-Proto":["https"],"Sec-Fetch-Site":["same-origin"],"Sec-Fetch-Dest":["empty"],"X-Real-Ip":["46.223.213.127"],"Connection":["close"],"Referer":["https://postiz.claudron.OURSERVER.de/integrations/social/instagram?code=AQBnG8A4zYRd27Sa7_7BS78Igi0DyhPcl3jdoC75v7nu9SXxTlRoih2h3SwYMXLe0RY2IShhTSyfrEWsdYPimvWBdacLR-fGJy1Pwz3nHj8DsxPnrgJT-2ymi0oXZy-gxkfBc5Fqiw9hGD3OnXWnFwnw-3QwFeWDLm3-uu5uoro2tO9PxQPPFftrCpHlwz26p86UiNkkJWrDY2VE9b04esMKejCKrWRtU7R8yBt3gz4tcGr1V97KFQASK-K7bsKBuSaIJZi8mpc-aiWLSBhvHc5pUux4g7gqKSGeM9kbvFnFy3F1PH7nxKWQLeIlARyRvGbi4-3nEPm8Rfw_ABah-GdN21sO-mWp3iqfhcSlHiHT0PwAVYhUHnZ59J-X_B9Zr41j0L3lbiDfVFdJqag0OOR_a9oWDKc7XCzT0FIAOCGvdg&state=zlLtoo"],"Sec-Ch-Ua":["\"Chromium\";v=\"135\", \"Not-A.Brand\";v=\"8\""],"Dnt":["1"],"X-Copilotkit-Runtime-Client-Gql-Version":["1.8.5"],"X-Forwarded-For":["46.223.213.127"],"X-Forwarded-Ssl":["on"],"Content-Length":["209"],"Cookie":["REDACTED"],"Accept-Language":["en-GB,en-US;q=0.9,en;q=0.8"],"Content-Type":["application/json"],"Sec-Ch-Ua-Mobile":["?0"]}},"duration":0.829163942,"status":502,"err_id":"nxr9zs32h","err_trace":"reverseproxy.statusError (reverseproxy.go:1373)"} Apr 24 09:38:30 } Apr 24 09:38:30 } Apr 24 09:38:30 } Apr 24 09:38:31 2025-04-24 07:38:31,012 WARN exited: backend (exit status 1; not expected) Apr 24 09:38:32 2025-04-24 07:38:32,146 INFO spawned: 'backend' with pid 192 Apr 24 09:38:33 2025-04-24T07:38:33Z Apr 24 09:38:33 2025-04-24T07:38:33Z Apr 24 09:38:33 2025-04-24 07:38:33,120 INFO success: backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Apr 24 09:38:33 > gitroom@0.0.0 start:prod Apr 24 09:38:33 > node dist/apps/backend/main.jsAfter Postiz has restarted and I retry the redirect URL I get this error:

This is the redirect URL:
https://postiz.claudron.OURSERVER.de/integrations/social/instagram?code=AQDvNogLUgbQ-BA....Not sure what to try next.
-
Just Signal here, sorry
But happy to help. If Signal is fine I can send you my profile invite to contact@hackradt.com -
Just Signal here, sorry
But happy to help. If Signal is fine I can send you my profile invite to contact@hackradt.com -
Hello, did this ever get resolved?
-
Not for me.
-
Hi all,
Noticed that on the doc it's "https://postiz.example.com/integrations/social/linkedin"
But the actual link sent to LIn is .../integrations/social/linkedin-pageDunno if it's good but I also add .env:/app/.env in Docker compose "volumes" as I saw a ".env.example" in /app ...
It worksvolumes: - postiz-config:/config/ - postiz-uploads:/uploads/ - .env:/app/.envcheers
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
