When trying to delete activities using python code that accesses the API; if the activity was created on/by the watch it cannot be deleted. However, if the activity is created automatically on the watch or by the API it can be deleted.
Can anyone help me figure out how to adapt my code to allow for deleting activities created by the watch?
This is the line of code:
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
HI @SunsetRunner
I can investigate this problem for you. Would you let me know what type of Fitbit watch you're using?
Thanks!
Gordon
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Hi @SunsetRunner
I wanted to let you know that I was able to reproduce the problem using a recorded activity by my Charge 5. When attempting to delete the activity, I received the same error message as you. I have submitted a ticket to our engineering team to investigate further. I'll let you know once I hear something from them.
Best,
Gordon
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Thank you. I believe the problem applies to all devices since I can reproduce it with a Charge 5.
Best Answer