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.