I am trying to use Restlet api using oauth 1.0 and i am getting this issue

I am trying to use Restlet api using oauth 1.0 and i am getting this issue

 

I am trying to create sales order using restlet api, how can i paas authentication using nodejs?

Add Comment
19 Answer(s)

Hi,

One thing that’s worth checking is the order as I think NetSuite can be a bit fussy about this. It should be:

realm

oauth_consumer_key

auth_token

oauth_signature_method

oauth_timestamp

oauth_nonce

oauth_version

oauth_signature

Let me know if this makes any difference.

Thanks,

Chris

Intermediate Answered on February 3, 2023.
Add Comment

Is it important to decode all the auth? if i need to do that how  can i do this?

 

Rookie Answered on February 3, 2023.
Add Comment

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:
https://suiteanswers.custhelp.com/app/answers/detail/a_id/77576#subsect_1520523189

Intermediate Answered on February 3, 2023.
Add Comment

i am trying this, i will let you know if it will work

thanks for the reference

Rookie Answered on February 3, 2023.
Add Comment

Hey Chris,

it worked, thank you very much for this support.

now i am facing a small issue can you help in this??

the error is :

{
“status”:”error”,
“errors”:[
“Error creating order – reasoncode: INVALID_FLD_VALUE, message:You have entered an Invalid Field Value B for the following field: orderstatus”
],
“order”:{}
How i can paas order status like:

_pendingFulfillment

in the API Parameters??

Rookie Answered on February 6, 2023.
Add Comment
Intermediate Answered on February 6, 2023.
Add Comment

Yes

 

RE: I am trying to use Restlet api using oauth 1.0 and i am getting this issue

RE: I am trying to use Restlet api using oauth 1.0 and i am getting this issue

Rookie Answered on February 6, 2023.
Add Comment

Since this is a custom RESTlet script, it all depends on what is happening in that script.

However, this may be useful:

https://suiteanswers.custhelp.com/app/answers/detail/a_id/97332/loc/en_US

Intermediate Answered on February 6, 2023.
Add Comment

Thank you so much for be the biggest lifesaver related to netsuite queries, really thanks for this amazing support buddy.

Regards

Ajeetesh

Rookie Answered on February 6, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor   Become a Sponsor