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 Answer