---
schema_version: "1"
id: 6b503dfcebcea8ff4c38a7643c12bfeec42570b458eaca25d55d82ca90f9809c
title: NetSuite Connector 11.11 Troubleshooting
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/netsuite-connector/11.11/netsuite-troubleshooting.md
canonical_url: https://docs.mulesoft.com/netsuite-connector/11.11/netsuite-troubleshooting
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 48ed0fa820a55cd579660e981b67265a48fb0c26715e70051bad510e08391ca5
description: MuleSoft Documentation Site
release: "11.11"
latest: false
---
---
product: NetSuite Connector
version: 11.11
---

# NetSuite Connector 11.11 Troubleshooting

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

You might encounter the following issues when working with the Anypoint Connector for NetSuite
(NetSuite Connector):

- [A connectivity test fails during application startup.](#connectivity-test-failure)

- [The connector does not log requests and responses.](#logging-request-responses)

- [The connector returns a permissions error when fetching metadata.](#permissions-error)

- [The connector is unable to search for certain types of objects.](#search-entities)

- [The **On Modified Object** source triggers new objects.](#on-modified-object-triggers-new-objects)

## Connectivity Test Failure During Application Startup

If a connectivity test fails during application startup and you see the following statement in the
stack trace, configure a reconnection strategy for the connector:

```xml
Caused by: java.lang.InterruptedException
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:998) ~[?:1.8.0_221]
```

To configure a reconnection strategy for the connector in Anypoint Studio (Studio), add these lines
to the **Configure XML** tab in the connector properties window:

```xml
<reconnection failsDeployment="true">
	<reconnect count="2" frequency="5" />
</reconnection>
```

For example, the configuration XML for the connector might look like this after you add the
reconnection strategy:

```xml
<netsuite:config name="NetSuite_Config" doc:name="NetSuite Config" doc:id="8a4f73c2-e5e1-4f5d-8978-980069828ff0" >
    <netsuite:token-based-authentication-connection consumerKey="${netsuite.consumerKey}" consumerSecret="${netsuite.consumerSecret}" tokenId="${netsuite.tokenId}" tokenSecret="${netsuite.tokenSecret}" account="${netsuite.account}">
		<reconnection failsDeployment="true">
			<reconnect count="2" frequency="5" />
		</reconnection>
	</netsuite:token-based-authentication-connection>
```

In Studio, you can also use the **Advanced** tab in the connector properties window to configure a
reconnection strategy. To do so, complete the following fields:

<table><colgroup><col> <col></colgroup><thead><tr><th>Field</th><th>Value</th></tr></thead><tbody><tr><td><p>Reconnection strategy</p></td><td><p><code>Standard</code></p></td></tr><tr><td><p>Frequency (ms)</p></td><td><p><code>5</code></p></td></tr><tr><td><p>Reconnection Attempts</p></td><td><p><code>2</code></p></td></tr></tbody></table>

## No Logging of Log Requests and Responses

To log requests and responses when using the connector, add this XML statement to the `Log4j`
configuration file:

```xml
<AsyncLogger
  name="org.mule.module.netsuite.extension.internal.connection.HttpWithCookieMessageDispatcher"
  level="DEBUG"/>
<Root level="debug">
    <AppenderRef ref="Console" />
</Root>
```

## Permissions Error When Fetching Metadata

To avoid receiving a permissions error when fetching metadata, enable the
`Control SuiteScript and Workflow Triggers in Web Services Request` option in NetSuite for the role
used in the connector configuration.

## Inability to Search for Certain Types of Objects

There is a limitation in NetSuite’s SuiteTalk API, that prevents you from searching for certain
types of objects, such as Sales Order objects. Because of this limitation, you can’t use the
NetSuite Connector `Search` operation to locate these objects.

To perform a search for Sales Order objects and other unsupported objects, you can create a saved
search and call it from the connector.

## On Modified Object Triggers New Objects

The **On Modified Object** source also triggers new objects. NetSuite populates the
`lastModifiedDate` field when an object is created. When the **On Modified Objects** source polls
objects based on `lastModifiedDate`, the **On Modified Object** source retrieves all new objects
too, because all new objects have the `lastModifiedDate` field populated.

## See Also

- [Salesforce Help](https://help.salesforce.com)

- [Known Issues](https://help.salesforce.com/s/issues)
