Can't create Instagram container

I’ve done everything this tutorial shows https://www.youtube.com/watch?v=PXcDqmamX2Q
But when I use the Facebook Graph node to create a container for my Instagram post, I get the error
Object with ID ‘17841401506501267’ does not exist,
I copied the ID as shown in the video. I’m using an Unsplash image. The token works (the credentials tests ok).

What am I doing wrong?

Here’s the node

I think the problem is the token is valid.

But it didn’t have the permission about the instagram account.

Or the instagram user id is wrong.

Hi there!
Do you already follow this step to getting the needed keys?

  1. Facebook API for tools node
  2. Facebook API for Trigger node

Let me know if it helps!

Mmm, let me understand.
I invited myself and was able to accept the invitation as a tester, so the IG account is correct, right?
What does the screenshot mean?
I already added myself as a tester
image

And my token includes all the Instagram permissions.

Yes, I followed the documentation to create the credentials. I tried both with a User token and an app token but I always get the same error.

Ok, so..
You can go to graph api explorer, and choose “Get App Token”, and a token with number will showing, you can copy that, and paste to access token

That’s what I’ve done.
As I wrote earlier, I tried both the App Token and the User Token.

try to change from ID in edge field, with me

What do you mean?
I see this

I suspect there’s a problem with the endpoint.
I’m using the Facebook Graph node in n8n, as shown in every tutorial. Should I add the Facebook login in my Instagram product?

The ‘Node’ one, change to ‘me’

Tried it, doesn’t work.
What about the Facebook Login idea I wrote about before?

try that, use graph.facebook.com options when you open the graph api explorer

There is one more thing we can do to check the token

Paste the token here will show you the status of the token.

I am having the same issue as you following a different tutorial. The credentials are valid though

Lemme help you @nathautomator and @albertocv

First, I’m sorry that my screenshot is in Indonesia language, but it doesn’t matter

  1. Copy the app id (Mine use english, u can copy the number beside ‘ID Aplikasi’/‘App Id’

  2. Put in App ID Fields

  3. Copy the secret key in Instagram App (In this image it’s named ‘Rahasia Aplikasi Instagram’)

  4. Paste it to your credentials

  5. Last one, go to Graph API Explorer - Meta untuk Developer

Add some permission (mine instagram related)

Choose ‘Dapatkan Token Aplikasi’, in english is ‘Get App Token’

Copy the token field to n8n Access Token.

Lemme know if it works!

1 Like

It’s ok. I already checked. And I also extended it

The screenshot shows a trigger.
I’m creating a media container. I had different options and different credentials.

Credentials aren’t affected with my flow by the way, you can re-adjust the auth flow, for container consider to read the offical Instagram API

I finally found a tutorial that solved my problem AND it also shows the process to create a permanent token

By the way, the other tutorials I saw maybe did not work because there was no Facebook page connected to the Instagram account I was using for my tests. But the above tutorial is still better because of the permanent token.

PS: the tutorial says to turn on live mode, but it’s not necessary.

1 Like

I had some frustrations similar to this and ended up using https://www.blotato.com/