This topic has 1 reply, 1 voice, and was last updated 9 months, 1 week ago by olav. This post has been viewed 421 times

  • Author
  • #1155

    Hi, I get uplink_transform_error on my thing, because of a syntax error from a previous version of the uplink script in the Think Type.
    Should updates to the uplink script take effect on a thing immediately after saving the edited Think Type ?

    I deliver my data as a stringified json-object by Coap and decode: return JSON.parse(payload.toString(‘UTF-8’));

    When is the script is applied : every time data is accessed or on arrival ?



    Solved: Thanks to Telenor advice. :
    The updates should take effect immediately .
    You can the payload as a respource :return { payload: payload.toString(“utf8”)};
    And then export the payload and look at it that way.
    In my case ‘”‘ had become ‘””‘ between my thing and the uplink.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

© 2022 Telenor Start IoT

Log in with your credentials

Forgot your details?