textuser 112
08/01/2025, 10:27 AMCeligo AI
08/01/2025, 10:27 AMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** Based on the conversations, it seems that the OAuth 2.0 refresh token indeed expires after 7 days. This is a limitation of the OAuth 2.0 Authorization Code Grant flow in NetSuite. However, as of the 2021.2 release, NetSuite introduced a new OAuth 2.0 flow called the Client Credentials (Machine to Machine) Grant flow. This flow is designed for server-to-server interactions and does not require user interaction, which seems to be more suitable for your use case. As for the confusion about the expiration period of the tokens in the Client Credentials flow, the conversations do not provide a definitive answer. The documentation links you provided also seem to have conflicting information. Unfortunately, without further information or clarification from NetSuite, it's not possible to provide a definitive answer to your question. I would recommend referring back to the official NetSuite documentation or reaching out to the NetSuite community for further assistance.
Celigo AI
08/01/2025, 10:28 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.903718293
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.894582093
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.891804874
Celigo AI
08/01/2025, 10:28 AM