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 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Outbound Single Sign-on Timestamp issues with .NET
I've been working on getting Outbound Single Sign-on handshake to work with a ASP.NET application for quite a while now with no success.
The current error I'm getting is "timestamp_refused", how do I get this timestamp to be what NetSuite is expecting it to be?
Here is the C# code I use to generate the timestamp:
string TimeStamp = Convert.ToDouble( DateTime.Now.ToUniversalTime().Subtract( new DateTime(1970, 1, 1).ToUniversalTime()).TotalMilliseconds).ToString("#############");Here is the raw header I captured using Fiddler2 (notice the oauth_timestamp is different here than the one that netsuite is expecting):
GET https://system.netsuite.com/app/common/integration/ssoapplistener.nl
0