Tagged: 

This topic has 1 reply, 1 voice, and was last updated 5 months, 3 weeks ago by olav. This post has been viewed 256 times

  • Author
    Posts
  • #1155
     olav
    Participant

    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 ?

    Olav

    #1165
     olav
    Participant

    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.

© 2021 Telenor Start IoT
 

Log in with your credentials

Forgot your details?