cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
122
Views
1
Helpful
2
Replies

thousandeyes-sdk-python getting "invalid token" - test curl successful

j-davis
Level 1
Level 1

Hello ThousandEyes community, 

I am attempting to use the python sdk for thousandeyes: 

https://github.com/thousandeyes/thousandeyes-sdk-python

I've used it in the past without issue. I'm getting an 401 - invalid access token error, but I've validated my access token with curl and it returns successfully.

I thought it may be a release issue, but I've updated all my libraries. 

Any help in troubleshooting would be grateful. Thanks!

1 Accepted Solution

Accepted Solutions

j-davis
Level 1
Level 1

Never mind, the issue was the 'aid' being called. I hadn't used this option in the past and it attempted to use it here. I'll leave this here if someone else has this issue -- check the aid param. 

View solution in original post

2 Replies 2

j-davis
Level 1
Level 1

Never mind, the issue was the 'aid' being called. I hadn't used this option in the past and it attempted to use it here. I'll leave this here if someone else has this issue -- check the aid param. 

Tyler Langston
Cisco Employee
Cisco Employee

Thanks for sharing your question and updating us on the answer you found @j-davis! I'm going to accept your comment as the solution to this so folks searching for it in the future will see it.