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

Invalid scope error when adding `irn` scope

ANSWERED

Hi Fitbit team,

A user requested that we add the new scope `irn` to our integration to be able to support irregular rhythm notification alerts. 

When testing the end-to-end OAuth flow, I see the following error:
"The app you're trying to connect did not provide valid information to Fitbit. Please report this issue to them. Developer information: invalid_scope - Invalid scope string : irn"

Is there something that needs to be enabled for us to add the `irn` scope? 

I see that it is listed in the documentation here (https://dev.fitbit.com/build/reference/web-api/developer-guide/application-design/#Scopes)

Thanks,
Michael

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Awesome, retested the end-to-end flow and everything looks good now. Thanks for the update Gordon.

View best answer in original post

Best Answer
0 Votes
3 REPLIES 3

Hi @pipedream 

Thank you for reporting this problem.   Let me investigate this and I'll report back.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

Hi @pipedream 

The documentation incorrect states the scope name as irn.   Please change your scope name to irregular_rhythm_notifications.   I will update the documentation.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer

Awesome, retested the end-to-end flow and everything looks good now. Thanks for the update Gordon.

Best Answer
0 Votes