Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
OAuth 1.0 AuthUrl is generating but woocommerce is returning 401
Hi Folks,
I'm trying to generate an authenticated URL using Consumer Key and Consumer Secret and signature method is HMAC-SHA256 However getting 401 though I've tested in Postman with consumer key and secret, and it is working fine there.
This code is generating the signed URL to request WooCommerce, but somehow WooCommerce return the 401 and says your signature doesn't match
while creating HMAC using crypto.createHmac i'm passing the consumer secret from Netsuite API Secret.
using crypto.createSecretKey method
const WOO_API_URL = config.WOOCOMMERCE.API_URL;const SIGNATURE_METHOD = config.WOOCOMMERCE.SIGNATURE_METHOD;const VERSION = config.WOOCOMMERCE.VERSION || '1.0';
0