Hi, newbie here
I’ve been trying to get basic functionality running using the tutorial (docs/tutorials/analyze-past-conversations). Using the example:
In my Windows console gives the result:
{
“title”: “Unauthorized”,
“type”: “about:blank”,
“status”: 401,
“detail”: “Unauthorized”
}
I’ve tried a variety of other approaches such as GitHub (twitterdev/Twitter-API-v2-sample-code/blob/main/Full-Archive-Search/full-archive-search.py) with the same result.
What am I doing wrong?
Thanks
Is your system clock in sync?
Also I noticed you may have an extra space after your bearer token, just before the " which may or may not be important, but worth trying
Both good ideas, but after trying on two different boxes, I think my system clock is fine and I removed the space. Still no luck
1 Like
I have it working now, but why this should work escapes me. I had to
- Enable OAuth2.0
- Regenerate my bearer token
Then all the demos worked just fine.
1 Like