Al Wld
Al Wld

Reputation: 939

Unsupported request - method type: get

Our app started getting the following error message on a very basic get that was working perfectly fine until recently

https://graph.instagram.com/v12.0/me?access_token=<IG...>

{
   "error": {
      "message": "Unsupported request - method type: get",
      "type": "IGApiException",
      "code": 100,
      "fbtrace_id": "A2KKkkTQ2nn70IQPCGKcKVB"
   }
}

What is this error? This has been working for months, and it looks like freshly created access_token do not have an issue...

Upvotes: 8

Views: 9578

Answers (4)

whatsupdock
whatsupdock

Reputation: 171

If you arrive here after December 4, 2024 by searching the error - unsupported request - method type: get like I did, it is because Facebook shut down the Instagram Basic Display API product. It was deprecated on September 4, 2024 and 90 days later, made unavailable.

I completed business verification and was approved, but this did not fix the error. It might be needed in addition to the following changes, but since I verified first, I can't say for sure.

With the error unresolved, I found a newer question on S/O with some helpful info: What is the alternative for instagram basic display api since its deprecated?

Facebook/Meta blog: Update on Instagram Basic Display API

Ultimately I had to create a new app, re-add and authorize users, generate and use new tokens. Generally I followed this guide: API setup with Instagram login. It wasn't too bad but my usage was simple, displaying a feed of the pictures from an account.

Upvotes: 11

Slava Mvv
Slava Mvv

Reputation: 53

This error was resolved after passing access verification for the business assigned to the app. Business had already been verified by the time of getting error. The app type was Business, 'instagram_business_basic' was the only approved permission with advanced access. The integration type was 'API setup with Instagram Login'.

Upvotes: 0

Rain Miao
Rain Miao

Reputation: 133

Same issue, but it turned out to be caused by Facebook (confirmed by their employee). A few hours later, the Graph API returned to normal without any action taken.

Upvotes: 0

Al Wld
Al Wld

Reputation: 939

Posting answer after days of research:

You need to get your business approved, and then this error will disappear.

The issue is that the dashboard was not letting us request a business approval since we did not use (supposedly) any API requiring such approval.

Long story short, you need to create another dummy app with the same business that needs business approval (e.g. a game). Ask for permission review, then once the permission review is pending, you will be able to require business approval. Once that's done, you can delete the dummy app.

Upvotes: 5

Related Questions