• Recent
    • Tags
    • Popular
    • Register
    • Login

    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.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Status Code 406 - Future dated points not acceptable

    Development general discussion
    2
    2
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      giovanni.persia
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        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.

        0_1562091498350_discard-future-values-limit.png

        1 Reply Last reply Reply Quote 0
        • First post
          Last post