I’m using the Python SDK to query my database using SQL. Using an API token with read/write access succeeds, but when using a read only token I receive a FlightUnauthenticatedError error. The query is a read only query.
e.g.
SELECT * FROM my_table
Ensure that you are passing token correctly in Python and that the read-only token has the correct "read" permission for the database you are querying. If the problem is still there, perhaps create a new token and use that.
I tried again, and it appears to work now without any code change. Not sure what was causing the problem originally. Thank you.
2 Likes
