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

Subscriber not successfully verified

ANSWERED

The subscription verification for our application is failing and showing this message "Subscriber has not been successfully verified."
The endpoint is working fine and it is returning the correct 204/404 replies when the code is either correct or invalid.
I tried hitting the verify button several times but the subscription is not getting verified.
Oauth client id: 22C4VD

 

What i'm doing wrong ?
This is critical for us. Please look into it asap.
Thanks in advance.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi @changhc 

 

Once your subscriber is verified, you'll reference the subscriber ID when adding a subscription.   See https://dev.fitbit.com/build/reference/web-api/subscriptions/#adding-a-subscription.   If your application has multiple subscribers, referencing the subscriber ID when adding the subscription let's Fitbit know which subscriber to send the notification.

 

Gordon

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

View best answer in original post

Best Answer
4 REPLIES 4

Hi @changhc 

 

In our logs I see your subscriber is sending a 404 when we send you the correct verification code.   You should be replying with a 204.   Would you please verify this in your code?

 

Gordon

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

Hi @Gordon 

 

I checked 204 when sending the value set by Subscriber ID and 404 when not.


Isn't the verification code Subscriber ID?

 

Best Answer

Hi @Gordon 

 

I checked the log and found a value other than the Subscriber ID set by the verification code, so I modified it and processed it.

 

Where do I use the Subscriber ID I set ?

Best Answer
0 Votes

Hi @changhc 

 

Once your subscriber is verified, you'll reference the subscriber ID when adding a subscription.   See https://dev.fitbit.com/build/reference/web-api/subscriptions/#adding-a-subscription.   If your application has multiple subscribers, referencing the subscriber ID when adding the subscription let's Fitbit know which subscriber to send the notification.

 

Gordon

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