can anyone guide me on the "invalid signature" iss...
# general
g
can anyone guide me on the "invalid signature" issue while hitting rest api?
b
there have been a lot of oauth related issues lately
what are you using to generate the oauth signature
g
I am using HMAC-SHA1 outh signature method.
b
did you write your own code to do so, or a library
the error is suggesting that whatever is generating the signature is doing it wrong
g
I am using library named hmac in python
b
that still doesnt sound like an existing oauth 1 library
if you are writing your own code to generate your signature, netsuite's error is saying you are doing it wrong
g
but the link you have shared is also using hmac
b
hmac by itself is not going to do anything for you
you need to hmac a base string
which needs to be formed correctly
g
ok...
b
my advice is to use an existing library to do your ouath authorization
if you want to do it yourself, expect to spend many hours learning how oauth base strings work
g
from the link that you have shared??
this one??
b
those are the existing solutions, i dont know python but the page suggests you should use rauth
g
ok... i'll try to implement this
Thanks a lot