12-08-2022 00:57
12-08-2022 00:57
I have an issue with the file transfer API.
When I try to send a file from my smartwatch (Sense) to the companion app, it throws "ReferenceError: filename not defined", but the files do get successfully sent to the companion. Also, when I list all files in the /private/data directory, all the files that need to be sent are there. See my code below.
```
```
Does anyone have an idea what could cause this weird behaviour?
Best Answer12-08-2022 01:03
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
12-08-2022 01:03
I see this fairly often. I suspect it's an internal error within the API. I've never known it to adversely affect anything.
Best Answer12-08-2022 01:42
12-08-2022 01:42
Good to hear that I'm not the only one. I'm not sure if it actually affects the efficiency of the program itself, but it feels wrong to keep it in haha. But I guess that I'll have to live with it then.
Best Answer