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

What is 409 conflict error?

ANSWERED

When I try to subscribe a user using /1/user/-/apiSubscriptions/800.xml and get a 409 conflict error, what does that mean?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions
409 Conflict
if the given subscriber is already subscribed to this stream using a different subscription ID, OR
if the given subscription ID is already used to identify a subscription to a different stream
About Conflicts A single subscriber may only subscribe to the same stream once. If a conflict arises trying to add a subscription, the server will respond with an HTTP 409 Conflict. It will still return the same response elements. In this case, the response elements tell you about the subscription that already exists, so that you may take corrective action as necessary.

 

From: https://wiki.fitbit.com/display/API/Fitbit+Subscriptions+API#FitbitSubscriptionsAPI-Addasubscription

View best answer in original post

Best Answer
1 REPLY 1
409 Conflict
if the given subscriber is already subscribed to this stream using a different subscription ID, OR
if the given subscription ID is already used to identify a subscription to a different stream
About Conflicts A single subscriber may only subscribe to the same stream once. If a conflict arises trying to add a subscription, the server will respond with an HTTP 409 Conflict. It will still return the same response elements. In this case, the response elements tell you about the subscription that already exists, so that you may take corrective action as necessary.

 

From: https://wiki.fitbit.com/display/API/Fitbit+Subscriptions+API#FitbitSubscriptionsAPI-Addasubscription

Best Answer