Reputation: 913
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
Reputation: 122
I am the administrator, but I was able to fix this by adding my instagram user as a developer.
Upvotes: 3
Reputation: 11
So some things you really need to be careful for:
You need two accounts to make this work:
There are two types of testers:
There are two types of ID's:
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
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
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