02-02-2023 18:17 - edited 02-05-2023 00:06
02-02-2023 18:17 - edited 02-05-2023 00:06
But I keep getting the following error:
Error: read ECONNRESET
Network Request Headers
content-length: 10000000
X-Fitbit-Subscriber-Id: fitbit-subscription-handler
Authorization: Bearer <valid_access_token>
User-Agent: PostmanRuntime/7.30.0
Accept: */*
Cache-Control: no-cache
Postman-Token: <valid_postman_token>
Host: api.fitbit.com Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Answered! Go to the Best Answer.
02-04-2023 05:09
02-04-2023 05:09
According to Fitbit's official documentation, the `content-length` header is required as shown in the image:
Simply removing this required header fixes the issue.
02-04-2023 05:09
02-04-2023 05:09
According to Fitbit's official documentation, the `content-length` header is required as shown in the image:
Simply removing this required header fixes the issue.