02-07-2015 04:12
02-07-2015 04:12
i use this tool to debug fitbit api request !
https://dev.fitbit.com/apps/oauthtutorialpage
this tool give me a signature for a specific set of data and the request via this tool send me a good response ( code 200 )...my app with the same specific set of data give me the same signature...but when my app request the fitbit api i receive an error : "Invalid signature: eSLse4cwkoadGI0tgeTWiU/5sHY=" !
the fitbit tool and my application (the server) send the same request (same data and same signature) but i receive 2 different responses !
can you help me ?
thank !
02-09-2015 19:31
02-09-2015 19:31
This means that the request you're making is different then the one generated with Fitbit oauth debug page.
The only reason for possible "Invalid signature" response is that your signature is wrong.