Authentification failing only on API /stats, but works for /accounts

oauth
api

#1

I’m able to successfully contact and retrieve details via the /accounts API such as https://ads-api.twitter.com/0/accounts and I get the results back happily.

I then pull out the account id and try to request stats via https://ads-api.twitter.com/0/stats/accounts/XXXX?start_time=2015-06-20T07%3A00%3A00Z and I get an Authentification error (401). If I remove the start_time, it tells me it’s missing but I assume thats because the field validation happens before authentification.

Any ideas?


#2

Hey @Andy_Jay89 - how are you making your requests? Can you reproduce this behavior using twurl? If so, could you share that twurl request?


#3

thanks for the response,

I’ve since fixed my issue by switching to the Scribe API