Sorry, we were just copying the way the connection...
# suitetalkapi
m
Sorry, we were just copying the way the connection was documented on the Oracle website as below. https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_1534941295.html. Could you please confirm which parts of that header we should be removing?
b
there is supposed to be one Authorization header
you have 10 different headers
😂 1
one of which, oauth_callback, is not in the documentation you are trying to follow
m
Sorry, we have had about 10 different goes at trying to call this, I'm losing track of which code was from there as all have exactly the same issue. The one from that documentation we tried and failed was actually this one
b
start with postman, netsuite has a collection which has the authorization setup correctly
m
Yes, we started with postman, you will see that in the earlier post. That fails too
b
what you shared is not using the collection
once you have verified that you have the correct parameters, you should move onto a library that supports oauth, like https://restsharp.dev/