Hello,
i'm building a web api with RestSharp authentication.
I set the signaturemethod to HmacSha1, but still i get this error:
{"errors":[{"errorType":"oauth","fieldName":"oauth_signature_method","message":"Invalid signature method: HMACSHA1. Fitbit API currently supports: HMAC-SHA1"}],"success":false}
This method worked 2 weeks ago.
What can be the problem?
Answered! Go to the Best Answer.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
You should pass exactly "HMAC-SHA1" value. In other words you have missing "-" in signature method that you pass in your request.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
I cant pass anything to the OAuth1Authenticator, just i can set from the RestSharp list, but the same code works on a windows hpone 8 page, but not on the server.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Fitbit API servers expect "HMAC-SHA1" as a value.
If the library you're using does not allow it please contat the developers who developed this library.
Best Answer