ANS-1358 · WEB SERVICES & INTEGRATIONS

How to Resolve “Only one request may be made against a session at a time” in NetSuite Web Services?

NetSuite web services errors stemming from concurrent operations within a single session are often resolved by updating integration connectors or authentication methods.

Short answer

The error "Only one request may be made against a session at a time" indicates a NetSuite web services connector is attempting multiple concurrent operations within the same session. This often occurs with older connectors or deprecated authentication. Updating to newer connectors and using Token-Based Authentication (TBA) for endpoints 2020.1 and later resolves this issue.

Scenario

A NetSuite web services integration encounters an error message indicating that only one request can be made against a session at a time. This typically happens when the integration attempts to perform multiple operations simultaneously using the same connector or session. This behavior is more prevalent with older integration connectors.

Solution

The error "Only one request may be made against a session at a time" is generated when a web services connector attempts to execute more than one operation concurrently within the same session. NetSuite's concurrency governance model limits the number of simultaneous requests an account can make. This problem was addressed in subsequent NetSuite web services connectors and architectural shifts. For endpoints 2020.1 and later, the 'login' operation is no longer supported, and Token-Based Authentication (TBA) is the preferred and more secure method for authenticating SOAP web services. To resolve this issue, ensure that:

  1. The integration connector being used is up-to-date and compatible with current NetSuite web services standards.

  2. The integration is designed to avoid simultaneous operations from a single session.

  3. For NetSuite web services endpoints 2020.1 and later, Token-Based Authentication (TBA) is implemented instead of traditional username/password 'login' operations.

Expert NetSuite Support

Need help with this NetSuite issue?

Web Services & Integrations consulting and configuration support

Talk to a consultant