postiz-app
postiz-app copied to clipboard
Connecting Instagram standalone results in a crash
📜 Description
When I try to login with Instagram via the Instagram standalone channel, a error occurs and the backend crashes.
{"error":{"message":"Unsupported request - method type: get","type":"IGApiException","code":100,"fbtrace_id":"xxx"}}
{"error":{"message":"Unsupported request - method type: get","type":"IGApiException","code":100,"fbtrace_id":"xxx"}}
{"error":{"message":"Unsupported request - method type: get","type":"IGApiException","code":100,"fbtrace_id":"xxx"}}
node:internal/process/promises:389
new UnhandledPromiseRejection(reason);
^
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 "#<BadBody>".
at throwUnhandledRejectionsMode (node:internal/process/promises:389:7)
at processPromiseRejections (node:internal/process/promises:470:17)
at process.processTicksAndRejections (node:internal/process/task_queues:96:32) {
code: 'ERR_UNHANDLED_REJECTION'
}
Node.js v20.17.0
2025-03-07 16:21:07,099 WARN exited: backend (exit status 1; not expected)
👟 Reproduction steps
- Add a instagram standalone channel
- Login to instagram
- Allow permissions
- The crash happens
👍 Expected behavior
The Instagram account should be linked and able to be used within Postiz
👎 Actual Behavior with Screenshots
💻 Operating system
Linux
🤖 Node Version
20.17.0
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
- [x] I checked and didn't find similar issue
Are you willing to submit PR?
None
Same issue
Untill this is fixed, Did any of you figure out how to access the app / remove the IG culprit?
Untill this is fixed, Did any of you figure out how to access the app / remove the IG culprit?
To help whoever is reading this before a fix. The newely added IG account that crashed the app wasn't in the DB.
I deleted the only other IG standalone account from the DB and re-added both from the UI and it worked.
I created a new instagram app, and tried to connect it. no errors. I need you to give more details.
aim also havin this issue
yeah, im also facing this issue
when im loging, i see
Insufficient rights for the developer role: Insufficient rights for the developer role
Hi,
I had the same problem. I was able to fix it by giving my instagram account permissions to :
- Generate access tokens Add an Instagram account to generate access tokens and setup webhook subscriptions.
In the "API setup with Instagram business login" screen.
Hi,
I had the same problem. I was able to fix it by giving my instagram account permissions to :
1. Generate access tokens Add an Instagram account to generate access tokens and setup webhook subscriptions.In the "API setup with Instagram business login" screen.
Hello, can u explain more? I tried something but maybe its not working or i m doing wrong or i cant find where generate a token
Hi, I had the same problem. I was able to fix it by giving my instagram account permissions to :
1. Generate access tokens Add an Instagram account to generate access tokens and setup webhook subscriptions.In the "API setup with Instagram business login" screen.
Hello, can u explain more? I tried something but maybe its not working or i m doing wrong or i cant find where generate a token
start from the documentation page : https://docs.postiz.com/providers/instagram
scroll down to the "Instagram Standalone Option" section
in section 3 "Set up Redirect URI" screenshot, you might notice that there is a section in the configuration "1. Generate access tokens". I generated an access token, then added my instagram account in that section.
Hi, I had the same problem. I was able to fix it by giving my instagram account permissions to :
1. Generate access tokens Add an Instagram account to generate access tokens and setup webhook subscriptions.In the "API setup with Instagram business login" screen.
Hello, can u explain more? I tried something but maybe its not working or i m doing wrong or i cant find where generate a token
start from the documentation page : https://docs.postiz.com/providers/instagram
scroll down to the "Instagram Standalone Option" section
in section 3 "Set up Redirect URI" screenshot, you might notice that there is a section in the configuration "1. Generate access tokens". I generated an access token, then added my instagram account in that section.
unfortunately, when I press this button, I get the same thing as when I try to connect my account
Hi, I had the same problem. I was able to fix it by giving my instagram account permissions to :
1. Generate access tokens Add an Instagram account to generate access tokens and setup webhook subscriptions.In the "API setup with Instagram business login" screen.
Hello, can u explain more? I tried something but maybe its not working or i m doing wrong or i cant find where generate a token
start from the documentation page : https://docs.postiz.com/providers/instagram scroll down to the "Instagram Standalone Option" section in section 3 "Set up Redirect URI" screenshot, you might notice that there is a section in the configuration "1. Generate access tokens". I generated an access token, then added my instagram account in that section.
unfortunately, when I press this button, I get the same thing as when I try to connect my account
my bad, i forgot change my account to professional, but now i cant posting in instaram
[0] 2|workers | in progress [0] 2|workers | in progress1 [0] 2|workers | {"error":{"message":"Only photo or video can be accepted as media type.","type":"OAuthException","code":9004,"error_subcode":2207052,"is_transient":false,"error_user_title":"\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e2a\u0e37\u0e48\u0e2d\u0e44\u0e21\u0e48\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08 URI \u0e2a\u0e37\u0e48\u0e2d\u0e44\u0e21\u0e48\u0e15\u0e23\u0e07\u0e01\u0e31\u0e1a\u0e02\u0e49\u0e2d\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e02\u0e2d\u0e07\u0e40\u0e23\u0e32","error_user_msg":"\u0e44\u0e21\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e14\u0e36\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e2a\u0e37\u0e48\u0e2d\u0e08\u0e32\u0e01 URI http://localhost:5000/uploads/2025/06/12/e31a099bad7fa1346d91dfb108a70a871.jpeg \u0e44\u0e14\u0e49 \u0e42\u0e1b\u0e23\u0e14\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e2a\u0e48\u0e27\u0e19\u0e02\u0e49\u0e2d\u0e08\u0e33\u0e01\u0e31\u0e14\u0e43\u0e19\u0e40\u0e2d\u0e01\u0e2a\u0e32\u0e23\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e02\u0e2d\u0e07\u0e40\u0e23\u0e32\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e14\u0e39\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21: https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media#creating","fbtrace_id":"AzUiOdB64_3X5_PJ5t_755j"}}
Same here, in Postiz v1.65.7. Can't post to Instagram standalone at all.
This issue is stale because it has been open for 90 days with no activity.
Same here, in Postiz v1.65.7. Can't post to Instagram standalone at all.
👆