-
Notifications
You must be signed in to change notification settings - Fork 80
json_query does not send token in HTTP request #126
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
Comments
Can you share the code that creates your |
|
Possibly related to #123 - CC @Empty2k12 |
I'm having the same issue using InfluxDB Cloud Serverless (version 3). I was wondering if it's a major version incompatibility (V3) but apparently the token implementation isn't working correctly. |
7 tasks
Should be fixed by #128 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the following code:
Will result with this error:
thread 'main' panicked at 'called Result::unwrap() on an Err value: AuthorizationError', src\main.rs:51:81
Which would make sense because looking at the raw packet using Wireshark shows that no token is being included in the HTTP request:

Causing an

Unauthorized
response:As apposed to write requests which work fine:


And regular read requests which also work fine (using


query
instead ofquery_json
):Code used for
read
:The text was updated successfully, but these errors were encountered: