09-23-2025 00:46
09-23-2025 00:46
We are failing when trying to recieve goad weigt from fitbit.
Php error code:
PHP Fatal error: Uncaught Error: Object of class GuzzleHttp\Psr7\Request could not be converted to string in /usr/local/crc-fitbit/include/getdata.inc:276
Stack trace:
#0 /usr/local/crc-fitbit/daemon/daemon.php(105): getdata->GetData()
#1 {main}
thrown in /usr/local/crc-fitbit/include/getdata.inc on line 276
Fatal error: Uncaught Error: Object of class GuzzleHttp\Psr7\Request could not be converted to string in /usr/local/crc-fitbit/include/getdata.inc:276
Stack trace:
#0 /usr/local/crc-fitbit/daemon/daemon.php(105): getdata->GetData()
#1 {main}
thrown in /usr/local/crc-fitbit/include/getdata.inc on line 276
What we send to fitbit:
"/1/user/^userId^/body/log/weight/goal.json"
This worked 4 days ago and also the year before and the users have not changed anything. The same error occur on 10 of the randomized users i have tried manually to receive data from.
Best Answer09-23-2025 00:52
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
09-23-2025 00:52
(moved to Web API forum)
Best Answer09-23-2025 04:27 - edited 09-23-2025 04:32
09-23-2025 04:27 - edited 09-23-2025 04:32
We also have the same problem with fat/goal.json.. (/1/user/^userid^/body/log/fat/goal.json)
(Al-tho we do get other data like devices information)
Best Answer