Abhishta Gatya
Abhishta Gatya

Reputation: 913

Instagram Display API Insufficient Developer Role

I have followed the tutorial on Instagram Display API, created my redirect_uri on ngrok and correctly assign my app_id. Here is the response I get.

{
"error_type": "OAuthException",
"code": 400,
"error_message": "Insufficient developer role"
}

What should I do? I am an Administrator so I can't assign myself as a Developer.

Upvotes: 39

Views: 71330

Answers (4)

Nadia
Nadia

Reputation: 122

I am the administrator, but I was able to fix this by adding my instagram user as a developer.

  1. Meta dashboard > App roles > Roles
  2. Modal appears
  3. Press Developers > Add people
  4. Press Instagram tester
  5. Enter in my instagram id, Press Add
  6. Go to https://www.instagram.com/accounts/manage_access/ > Tester invites tab
  7. Press Accept

Upvotes: 3

Cc Bones
Cc Bones

Reputation: 11

So some things you really need to be careful for:

You need two accounts to make this work:

  • Admin Acc (fb acc, dev.fb acc, instagram)
  • Tester Acc (fb acc, dev.fb acc, instagram)

There are two types of testers:

  • TESTER
  • INSTAGRAM TESTER

There are two types of ID's:

  • APP ID: xxxxxxxxxx
  • INSTAGRAM APP ID: xxxxxxxxx

To make sure your Instagram Basic Display works, you need to have the correct "Instagram tester". Only this option will create the tab "tester invites" in Instagram apps and websites.

Then you need to Authorize your app with the following URL:

(Add your own instagram-app-id and your own redirect-uri)

https://api.instagram.com/oauth/authorize?client_id={instagram-app-id}&redirect_uri={redirect-uri}&scope=user_profile,user_media&response_type=code

For me, it only worked by copy and pasting it into an Incognito window.

Again, important! When you use the Instagram App ID from your Admin account, you need to log in with your Tester Account or you will get an error message.

Upvotes: 0

Nobody
Nobody

Reputation: 792

Go to Roles > Instagram Users and add your Instagram account. Then go to https://www.instagram.com/accounts/manage_access/ to accept the Tester Invite from your app.

Upvotes: 73

Peter S.
Peter S.

Reputation: 131

What fixed this for me when trying to use this link:

https://api.instagram.com/oauth/authorize
  ?app_id={app-id}
  &redirect_uri={redirect-uri}
  &scope=user_profile,user_media
  &response_type=code

... was being logged in as the accepted Testing User in the same browser session.

I had logged in as that user in an Incognito window, and originally the link was returning that Insufficient Developer Role error when I was trying it in my normal browser window.

Once tried to go to it in the incognito window, it worked just fine.

Let me know if this fixes it for you. Otherwise, I also went to my Developer Settings and did the Individual Verification, although my ID hasn't been approved yet and it still worked.

Upvotes: 10

Related Questions