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.
Best AnswerAccording to Fitbit's official documentation, the `content-length` header is required as shown in the image:
Simply removing this required header fixes the issue.
Best AnswerAccording to Fitbit's official documentation, the `content-length` header is required as shown in the image:
Simply removing this required header fixes the issue.
Best Answer