Why does a host fw update delete my device tag?

I issued a curl call to update a device, worked great except my device tag was deleted!

The workaround would be to 1st get the tag, do fw update, re-set the tag.

https://api.notefile.net/v1/projects/app:d2776f2b-6a9a-4ddb-81ea-zzzzzzzzzz/dfu/host/update?deviceUID="{device}”

But why does this delete the device tag ?

Hi @gomario2 ,

Thanks for bringing this to our attention. It looks like this is a bug where a DFU initiated via that API does wipe out any pre-existing environment variables (including tags). It’s on our backlog to fix. Sorry about the confusion!

Rob

Just to confirm what @RobLauer said, this is indeed a bug on the API endpoint. A fix will be deployed in our next release.

Scott

Thank you for the quick response. I wasn’t sure if I missed a note in the documentation. Ive found a few bugs either with the library ( python ) or the supporting docs. My “favorite” was the Bearer token support vs session token ;-( Don’t take these as complaints as I love your platform and just want it to get better and better

1 Like

There are big improvements coming to auth for the Notehub API next week!

Great to hear! BTW, is there a public bug list? That last one was cost me some time and I already know of some python lib issues , mostly incorrect documention but if there was a list it would be helpful.

Hi @gomario2,

There is not an all-encompassing public bug list or issue tracker. However, you’re welcome to use the issues tab on the github repos for our SDKs should you encounter any problems (docs or functionality)!

Rob

1 Like