Your credentials do not allow access to this resource [code] => 220


#1

So I’m have this error kick out to me.

Your credentials do not allow access to this resource [code] => 220

I have read, write, and direct access. I do not have just an app-only auth.

So what do I do?


#2

What endpoint are you trying to access?


#3

Thanks for responding.

Pretty much everything returns that error except GET statuses/user_timeline.


#4

Strange. This is in PHP?

Have you tried regenerating your secret and adding the new one into your app, to check you have the right permissions applied?


#5

Yeah it is pretty strange. I’ve check the permissions and regenerated the tokens.

I’ve haven’t added a new one to the app yet. I try that next.