reptar
12/01/2022, 4:00 PMencodeURIComponent(scopes) . However I tried this and same issue. Middleware generates the token, but it throws a 500 error trying to use it. The weird thing is, I can use the token generated from Postman from NetSuite and it authenticates. Another weird thing, The code snippet from Postman does not use %20 in options.url, nor in the url at the top. Does Postman handle this upon send?reptar
12/01/2022, 4:03 PMEric B
12/01/2022, 4:15 PMreptar
12/01/2022, 4:49 PMencodeURIComponent . If I pass three or four scopes, it authenticates properly. If I try to pass all of them, it fails. I think it's just a length issue.