0

Write API issue

I am able to write data to the Canary Historian, but as soon as the session token is revoked (either by timeout or by revokeSessionToken) a 'No Value' value is written with 'No Data' quality. This did not happen in Version 23 - it just started happening in Version 24. How can I stop this from happening?

1 reply

null
    • smason
    • 7 hrs ago
    • Reported - view

    Hi ,

    That is a default setting. If you want to turn it off, you'll want to specify the autoWriteNoData parameter in  your settings array and set it to false when you make your \getSessionToken call.

    https://writeapi.canarylabs.com/25.2/

Content aside

print this pagePrint this page
  • 7 hrs agoLast active
  • 1Replies
  • 4Views
  • 2 Following