Closed iakovmarkov closed 2 years ago
Hello,
Did you ever resolve this? I may be having a similar issue, if it's not the same let me know and I'll create a new bug.
Code: import myfitnesspal client = myfitnesspal.Client('username', password='password') print(client.set_measurements(measurement="Weight",value=weight))
Output: None <class 'set'>
Result: The above output and no changes to MFP.
Hi @JeffWDH. I wasn't able to solve this unfortunately.
I believe this is fixed via #129 , but let me know if this is still an issue.
Hi all!
I'm running into a weird error when trying to save measurements (weight) into MFP. The command fails without much output. When I've enabled debugging of
requests
module, I've found out that MFP returns a redirect tologin
page instead of saving data and redirecting back to measurements.I've added some debug logs to your code to see what happens. It looks something like this:
Any idea what might cause this?