Skip to main content
Question

Trouble connecting to Instagram API: "No Options Available" & 'Invalid OAuth Token' Errors

  • October 20, 2024
  • 6 replies
  • 147 views

Hi Communty, it is really hard to connect to the instagram api - does enyone can help me out or has the same problems? 

  1. IInstagram business 

i am getting the following error message: 

 

No options are available.

Some reasons this could be happening:-

Confirm if you connected the right account.

Confirm that there is data in the partner app.

Confirm that you have permission to the data in the partner app.

There was an issue retrieving data from the partner app. Please try again later.

 

Ok, now i tried to put my Ig-user id manually--- No function.

 

  1. Instagram API 

did setup all the apps, token, url for media puplishing. nothing is working so far. The error code: 

 

Failed to create a http request in Instagram

Raw request failed. Problem executing your request: undefined: Invalid OAuth access token - Cannot parse access token

Did this topic help you find an answer to your question?

6 replies

ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • 6519 replies
  • October 21, 2024

Hi @mittelmotor24,

Welcome to the Community! 🎉

Before we dig deeper into this, would you mind sharing a detailed screenshot of how your Zap is configured? Also, please share a screenshot of the “CONFIGURE” section of the action step that shows all of its fields.

Please don't include personal information in the screenshot, or be sure blur out any personal information.

Thanks!


Hi @ken.a, thank you so much for the warm welcome!

I've attached the configuration screenshots.

Just to give you some context: I'm working on an automation project that pulls news from RSS feeds, rewrites the content for my audience, generates an image, and automatically posts it to Instagram.

 

 

This is an overview uf the Zap: 

 

 

Looking forward to your insights!

 


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7733 replies
  • October 22, 2024

Hi @mittelmotor24 👋

When using the API Request action there’s no need to include any access tokens as the authentication will be handled automatically using the Instagram account that’s connected to the Zap. So you’d need to remove the access token from the Additional Request Headers section. 

That said, I’m not sure the API Request action is needed here. It looks as though the API Request action is just sending an image and caption over to Instagram, which is functionality that’s already available with the Publish Photo action for Instagram for Business:

63c90dbe072ef82ea6e8e17d00ef449b.png

Can you try that Publish Photo action instead and let me know if that works any better for you?


Hi @SamB ,

Thanks for your guidance. Yes, I’ve already tested it. I don't need the API for this Zap at the moment, so I switched to Instagram Business to give it a try. Unfortunately, the connection was established, but I can’t send any media.

Initially, I thought it might be due to missing admin rights, but both my Facebook page and Instagram account are part of the Business portfolio, and my FB profile has the admin role.

Could it be an issue because the page and Instagram are only linked to the Business portfolio and not my personal FB profile?

 

 


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • 6519 replies
  • October 23, 2024

Hi @mittelmotor24,

You can use the Instagram account ID as a custom value on the “Instagram Account to Use” field. If you’re not sure how to find the Instagram account ID, you can Google “Instagram account id finder” to help you find the account ID.

You can learn more about using the custom value here: https://help.zapier.com/hc/en-us/articles/8496241696141-Add-custom-values-to-dropdown-menu-fields-in-Zaps#01H7FR09FB5MSJS9EXGERG4ZAD

Kindly give it a try and let me know how it goes? I'll keep an eye out for your response!


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7733 replies
  • November 8, 2024

Hi there @mittelmotor24! 🙂

Just following up here to check how you’re getting on with this. Did Ken’s suggestion of using the Custom value option to manually select the the Instagram account using it’s account ID do the trick?

Happy to assist further if you’re still stuck at all, just let us know! 


Reply