I am trying to use Restlet api using oauth 1.0 and i am getting this issue
One thing that’s worth checking is the order as I think NetSuite can be a bit fussy about this. It should be:
Let me know if this makes any difference.
Apologies – I’ve just been checking my facts and the order might not be too important in the header but it is certainly important when constructing the signature.
As next steps, I would recommend checking the Login Audit Trail:
Setup > Users/Roles > View Login Audit Trail – Make sure to add a column for “Detail”.
And checking that your signature generation code produces the expected result based on the example on this page:
Since this is a custom RESTlet script, it all depends on what is happening in that script.
However, this may be useful:
This doesn’t look like an authentication issues.
Could you please send us a snippet of the code you’re currently using.
There’s nothing that looks majorly wrong here.
Do you get anything logged in the RESTlet itself?
No. could you please like to share a snippet???It would be great help, I am trying from last 3 days??
You are targeting this script: script=569&deploy=1
Could you please share the contents.
what contents you are looking for ? Is that the whole function?
below i writing down the whole function please check this,if you found any error please let me know-
This is your code that is POSTing into NetSuite to this script:
That is a RESTlet and so there should be code at the NetSuite side that is responding to this call.
Is this what you’re looking for or were you looking to use the standard REST Web Services?