• 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 4 Documentation Website Mango 5 Documentation Website Radix IoT LinkedIn

    Status Code 406 - Future dated points not acceptable

    Scheduled Pinned Locked Moved Development general discussion
    2 Posts 2 Posters 1.6k Views 2 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post