Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Status Code 406 - Future dated points not acceptable
-
Hi all,
We are developing a client application (in java) to set the data points . We use the REST API to set data values but we are faced with the error:
status code: 406 - message: error - resp.Headers: {Server=[Jetty(9.2.12.v20150709)], messages=[], Content-Length=[0], errors=[Future dated points not acceptable.], Date=[Fri, 19 Apr 2019 20:42:17 GMT]} - respBody null
We tried to use the CURL command but we not received any response.
curl -X PUT http://<ip-mango>:8080/rest/v1/point-values/q21?unitConversion=false -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'Cookie: MANGO8080=imueqd0n5ol71c45xym5mobm' -H 'User-Agent: Java-Swagger' -d '{ "dataType": "NUMERIC", "value": 1, "timestamp": 1561455736049, "annotation": "from ESF" }'
The version of Mango Automation is 2.7.12.
Any ideas?
Are there the configurations (or check) that we can cunsult directly on Mango Automation UI?Tnks and BR.
-
Hi giovanni.persia, welcome to the forum!
Is the error correct, that the data values you are trying to set are in the future?
If yes, you can change how far into the future new values may be. This setting is under the Purge Settings in the system settings page, under administration.