So, I finally managed to (with no help from the Ne...
# integrations
a
So, I finally managed to (with no help from the Netsuite documentation) get the TBA flow working and getting myself a valid authorization token and the like. But now, every single request to Netsuite with my Authorization header fails with this error:
"Invalid login attempt. For more details, see the Login Audit Trail in the NetSuite UI at Setup > Users/Roles > User Management > View Login Audit Trail."
However, nothing appears in that log, nothing appears in the integration log, I can't seem to find a record of the attempt anywhere. My header matches the one on their example perfectly (this is their example):
Copy code
Authorization: OAuth realm="123456",oauth_consumer_key="ef40afdd8abaac111b13825dd5e5e2ddddb44f86d5a0dd6dcf38c20aae6b67e4",oauth_token="2b0ce516420110bcbd36b69e99196d1b7f6de3c6234c5afb799b73d87569f5cc",oauth_nonce="fjaLirsIcCGVZWzBX0pg",oauth_timestamp="1508242306",oauth_signature_method="HMAC-SHA256",oauth_version="1.0",oauth_signature="7mpNx1RdQn4VLSyeEwCK7jFBjGQ0blzwDSMU9Kg5Rmg%3D"
From this page: https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_1534941295.html I am simply trying to get employees: https://REALM.suitetalk.api.netsuite.com/services/rest/query/v1/suiteql?offset=0&limit=2 Has anyone encountered this? If my TBA flow fails anywhere I see the issue in the log (well...at least that there was an issue), but this I get nothing. I followed this web page to generate my header as it's the only documentation I could find to generate it: https://www.ledgersync.dev/posts/netsuite-authentication/