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
This will return an error saying that the import statement is invalid.
HTTP response body: {"code":"invalid","message":"invalid options; Err: loc 3:1-3:7: invalid statement @3:1-3:7: import: loc 3:1-3:7: invalid statement @3:1-3:7: import"}
Expected behavior:
Expected the task to be created.
Actual behavior:
HTTP response from the server saying that the "import" statement is invalid.
HOWEVER, when the import statements are placed BEFORE the "option task ..." declaration, the API call works.
The API probably needs to be fixed. But I was told that to file a ticket here and that it will be fixed via the python client library.
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
InfluxDBClient.TasksApi.create_task()
with an import statement does not work./api/v2/tasks
with an import statement after theoption task
variable.This will return an error saying that the import statement is invalid.
Expected behavior:
Expected the task to be created.
Actual behavior:
HTTP response from the server saying that the "import" statement is invalid.
HOWEVER, when the
import
statements are placed BEFORE the "option task ..." declaration, the API call works.The API probably needs to be fixed. But I was told that to file a ticket here and that it will be fixed via the python client library.
Specifications:
Additional Info:
https://influxcommunity.slack.com/archives/CH8RV8PK5/p1659743604599309
The text was updated successfully, but these errors were encountered: