Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TypeError: Failed to fetch - permission "access_internet" was not granted.

ANSWERED

Just updated the Fitbit app. It now seems to enforce permissions. 
I get the following error when using fetch:

 

TypeError: Failed to fetch - permission "access_internet" was not granted.


I found this article in the documentation that describes how to check for permissions https://dev.fitbit.com/reference/companion-api/companion/#variable-me-.

 

But I can't find anything about getting or requesting permissions.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Required permissions can be set under "Requested Permissions" in the package.json.

View best answer in original post

Best Answer
1 REPLY 1

Required permissions can be set under "Requested Permissions" in the package.json.

Best Answer