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)

yeahh chris, restlet isn’t working at my end, but if i am using from postman  it is working.can you have idea why this happening?

thanks,

Ajeetesh

Rookie Answered on February 3, 2023.
Add Comment

Are you able to log the config object that is passed to axios? If so, could you please share.

Advanced Answered on February 3, 2023.
Add Comment

Accept: ‘application/json, text/plain, */*’,
‘Content-Type’: ‘application/json’,
Authorization: ‘OAuth realm=”22222221_SB1″,oauth_consumer_key=”11d0f195d09c30d764a07dedd2b*****480e7e0c2c2cd0d417acc348e44f98e4″,oauth_token=”56cdaced5bb*****480352321708b70ff0c0efa987f90fca3cf3e1b9e363bfc79c”,oauth_signature_method=”HMAC-SHA256″,oauth_timestamp=1675360174,oauth_version=”1.0″,oauth_signature=”sbtD7gRFfvm5ez05Qz89OMYWfDd%2BLO9t3aZ2b3gLGLg%3D”,nonce=”acf9fb572c533c2c6e99″‘,
Connection: ‘keep-alive’,
‘Accept-Encoding’: ‘gzip,deflate,br’,
‘User-Agent’: ‘axios/0.27.2’,
‘Content-Length’: 883
},

are you looking for this?

 

Rookie 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

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
Advanced 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

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   Become a Sponsor   Become a Sponsor