You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Haonan Hou (Jira)" <ji...@apache.org> on 2022/09/27 04:26:00 UTC
[jira] [Assigned] (IOTDB-4530) RestAPi datatype cast error
[ https://issues.apache.org/jira/browse/IOTDB-4530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haonan Hou reassigned IOTDB-4530:
---------------------------------
Assignee: Zhijia Cao
> RestAPi datatype cast error
> ---------------------------
>
> Key: IOTDB-4530
> URL: https://issues.apache.org/jira/browse/IOTDB-4530
> Project: Apache IoTDB
> Issue Type: Bug
> Affects Versions: 0.13.2
> Reporter: Haonan Hou
> Assignee: Zhijia Cao
> Priority: Minor
>
> {code:java}
> curl -H "Content-Type:application/json" -H "Authorization:Basic cm9vdDpyb290" -X POST --data '{"timestamps":[1635232143960],"measurements":["s1"],"dataTypes":["FLOAT"],"values":[[30650]],"isAligned":false,"deviceId":"root.sg.d1"}' http://127.0.0.1:18080/rest/v1/insertTablet{code}
> {code:java}
> {"code":400,"message":"java.lang.Integer cannot be cast to java.lang.Double"}{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)