I get the following error when trying to use node....
# suitescript
n
I get the following error when trying to use node.js to TokenBasedAuth into a RESTlet.
error message:header is not NLAuth scheme
Meanwhile, to no surprise, the basic NLAuth username and password auth works just fine.
Do you need to specify anything on the RESTlet for TBA?
z
header: {Authorization: Oauth …}
that should be it
what role are you using?
If your role does not have Token Based Access assigned, that error would make sense
n
@zach_calh Do you mean, Permission > Setup > Log in using Access Tokens?