-
Notifications
You must be signed in to change notification settings - Fork 68
Error when switching to another organization #76
Comments
FYI: I've been testing different servers. The only difference so far is that the one on my work is using version "Grafana v7.1.3 (5723d951af)" Deleting a datasource also seems to work... which is also a post request... I'm out of options here |
It should either output the 200 response with:
Or some other message, I was not able to reproduce it with multiple Grafana versions. From the error, it's successfully switches the organization (or at least returning status code less than 400) and returns non-JSON response:
I'd recommend to test cURL to see what's going on (see below), unfortunately, right now the library doesn't have nice debug capabilities (though, I have this in mind). As for cURL, you can run the following command and see what's going on:
|
Sorry for the late reply, some other project got prio above this provisioning grafana side project.
However, if I run my script, I get the same error as above :-(
The first two prints work fine, thus, authentication seems to work.
|
What API call you use?
Provide a small example to reproduce the bug.
The first two queries work fine, the last one returns a JSON error.
What is the actual output?
Copy or describe the actual result.
What is the expected output?
Something without an error that tells me I've switched to organization with id 15? :-)
The text was updated successfully, but these errors were encountered: