Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Unauthoized Error in QueryAsync method. #92

Open
geervanibs opened this issue Jun 4, 2024 · 0 comments
Open

Getting Unauthoized Error in QueryAsync method. #92

geervanibs opened this issue Jun 4, 2024 · 0 comments

Comments

@geervanibs
Copy link

Hi,
We are having an influx db with version 2.7 (OSS). Trying to fetch data with QueryAsync method, but getting the error 'InfluxData API responded with status code=Unauthorized, response={"code":"unauthorized","message":"Unauthorized"}'

await client.Client.QueryAsync(query, bucketName);

The same query works for another influx db instance whose version is 1.8 on cloud. I need to support both of the version. How can we solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant