You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to make a post request using this button from Grafana cloud v8.4.3.
The post request is used to write point info to the Influxdb cloud, using its API.
To make sure that the problem is not from the Influxdb side, I have written a similar code that runs in Python and works alright.
url = "https://us-east-1-1.aws.cloud2.influxdata.com/api/v2/write?org='ORG’&bucket='BUCKET’&precision=ns"
custom_header = {"Authorization":"Token ‘#token_value’",
"Content-Type": "text/plain; charset=utf-8" }
data = " #Arbitrary_DATA"
r = requests.post(url,data,headers=custom_header)
I have also contacted the Grafana support team to make sure that the "Failed to fetch" error is not because of their API. However, they suggested contacting the button panel team and seeking a solution.
The POST request works well for httpbin.org/post, but not for Influxdb requests.
I would appreciate your suggestions in this regard.
The text was updated successfully, but these errors were encountered:
Hi,
I tried to make a post request using this button from Grafana cloud v8.4.3.
The post request is used to write point info to the Influxdb cloud, using its API.
To make sure that the problem is not from the Influxdb side, I have written a similar code that runs in Python and works alright.
I have also contacted the Grafana support team to make sure that the "Failed to fetch" error is not because of their API. However, they suggested contacting the button panel team and seeking a solution.
The POST request works well for httpbin.org/post, but not for Influxdb requests.
I would appreciate your suggestions in this regard.
The text was updated successfully, but these errors were encountered: