Articles in this section

Troubleshoot Shopify – NetSuite integration app errors

The following are the most common errors customers have run into while using the Shopify – NetSuite integration app:

Shopify and NetSuite connection errors

Error message  Reason  Resolution 
Connection could not be established. Target service might be inactive. This error is usually encountered when the integration app tries to connect to NetSuite and took a long time to do so. It can be that your NetSuite server might not be available at that time. If there is retry data available, then you can retry the error. If there is no retry data, then you can just mark the error as resolved since this will be resolved by NetSuite once the connection is established.

Shopify order flow errors

Flow impacted  Error code/Message  Likely cause  Resolution 
Shopify order to NetSuite order (cash sale or sales order)

missing_static_lookup 

Failed to add Shopify Order#1234. Could not find the mapping in static lookup. { Source: shipmethodLookup} { Key: Free Shipping}

Shopify ship Method "Free Shipping" is not yet mapped to the corresponding ship method in NetSuite.
  1. Configure missing ship method mapping.
  2. Then go back to the dashboard and view the Error dialog. Select Retry to re-run the Order Import flow successfully.
Shopify order to NetSuite order (cash sale or sales order)

missing_static_lookup 

Failed to add Shopify Order#1234. Could not find the mapping in static lookup. { Source: paymentmethodLookup} { Key: direct}

Shopify Payment Method "direct" is not yet mapped to the corresponding payment method in NetSuite.
  1. Configure missing payment method mapping.
  2. Then go back to the Integrator dashboard and view the Error dialog. Select Retry to re-run the Order Import flow successfully.
Shopify order to NetSuite order (cash sale or sales order)

value_lookup_failed 

Failed to add Shopify Order#1234. A mapping error occurred. Could not find "White Tee" in the "Name" field of the record type "item".

An item with the following SKU "White Tee" not found in NetSuite.
  1. In NetSuite, go to Lists > Accounting >Items > New.
  2. Create a NetSuite Item with the “Name” field value as “White Tee” and Save.
  3. Go to the dashboard and retry the Order Import flow.
Shopify order to NetSuite order (cash sale or sales order)

Error code: no_items_mapped_on_order

Error message: Unable to create the order in NetSuite for the Shopify order #1234. The order does not have any items mapped. (Source: Post submit hook)

The order reached NetSuite with no item lines. This usually happens when the Items : Item (InternalId) lookup is customized so that its expression starts with a condition (for example, {{#if line_items[*].sku}}…{{else}}…{{/if}}) and that lookup is the first row of the Items mapping. On installs that run the legacy SuiteBundle, NetSuite then drops every item line without a lookup error, so the order has no items and the post submit hook rejects it. The mapping Preview shows the same result: the item lines come back empty.

Do one of the following, and then retry the error:

  • Move a plain line field, such as Items : Quantity, above the Items : Item row in the mapping.
  • Write the expression so that it starts with the plain SKU value ({{{line_items[*].sku}}}…) before any condition.
  • Restore the integration app’s standard SKU lookup.

If the customized lookup exists to post order lines that have no SKU (for example, gift cards or POS tenders) to one NetSuite item, keep the standard lookup and use Settings > Item > NetSuite Item to track Shopify order lines with no SKU value instead. See Track Shopify order lines with no SKU value.

Shopify order to NetSuite order (cash sale or sales order)

unique_cust_id_reqd 

Failed to add Shopify Order#1234. Failed while creating customer, message: A customer record with this ID already exists. You must enter a unique customer ID for each record you create. To correct this record, go back and enter a new customer ID in the Customer field. Then, select Submit.

A Customer record with the same First and Last Name already exists in NetSuite.

There are multiple ways to resolve this error: One way is to enable NetSuite 'Auto Generate Numbers' feature for Type Customer.

  1. In NetSuite, go to Setup > Company > Autogenerate numbers. Under Type, enable for the type Customer.
  2. Go to the flowing dashboard and retry the Order Import flow.

An alternate way is to modify the Retry Data & change the First Name & Last Name on the Customer record.

Shopify order to NetSuite order (cash sale or sales order)

unique_cust_id_reqd

Failed to add Shopify Order#1234. Failed while creating customer, message: A customer record with this ID already exists. You must enter a unique customer ID for each record you create. To correct this record, go back and enter a new customer ID in the Customer field. Then, select Submit.

The existing NetSuite customer is the same customer who placed the order, but its Celigo Shopify Customer Id Map entry for your store is missing.

Restore the Customer Id Map entry. For steps, see Order imports fail if customer record with same ID already exists in NetSuite.

Don't enable auto-generated numbers to resolve this cause. For an existing customer, it creates a duplicate customer record.

Shopify order to NetSuite sales order (add) and Shopify order to NetSuite order (cash sale or sales order) Unable to create the order in NetSuite for the Shopify order #5******3 Failed to save record because Please enter value(s) for: Currency If you have not added the currency field mapping in the Post orders to NetSuite import (or) if you have already set the currency field mapping but missing enabling the checkbox Enable the “Use this field for NetSuite record initialization.

To resolve the issue:

  1. Go to integrator.io and navigate to the Shopify Integration App tile.
  2. Go to Flows > Order.
  3. Next to the Shopify order to NetSuite sales order (add) flow, select Mappings to edit the Field mappings.
  4. In the Mappings section, look for the 'currency field' in the left column fields and in the right column fields. If you do not find the currency field in the mappings, perform currency field mapping.
  5. Select Edit (Gear icon) to view the Settings page.
  6. Select Use this field for NetSuite record initialization checkbox.
  7. Save your changes.
  8. Now go to the Integrator dashboard and view the Error dialog. Select Retry to re-run the Order Import flow successfully.
Shopify order to NetSuite order (cash sale or sales order)

user_error 

Failed to add Shopify Order #1234. Failed while creating customer, message: Please enter a value(s) for: Subsidiary.

No mappings were found for Subsidiary under Customer Mappings section
  1. Go to integrator.io and navigate to the Shopify Integration App tile.
  2. Go to Flows > Order.
  3. Next to the Shopify Customer to NetSuite Customer Add/Update flow, select Mappings to edit the Field mappings.
  4. In the Mappings section, look for the 'desired field' in the left column fields and in the right column fields. Select Edit (Gear icon) to view the Settings page.
  5. Choose Field mapping type and select Options.
  6. Save your changes.
  7. Now go to the Integrator dashboard and view the Error dialog. Select Retry to re-run the Order Import flow successfully.
Shopify order to NetSuite order (cash sale or sales order)

user_error 

Failed to add Shopify Order#1234. Please choose an item to add

SKU field on one of the items on the order in Shopify was empty at the time order was placed.
  1. Log in to your Shopify account and navigate to the "Orders" section. Find order #1234.
  2. Go to each individual item & ensure each of these items have a value populated for the "SKU" field on the Shopify item record.
  3. In your integrator.io account, on the Dashboard, select Retry Data and locate the SKU field with a null value.
  4. Replace the null value in the JSON with the correct SKU value as entered on the Shopify Item record.
  5. Select Retry, to import the order into NetSuite.
Shopify order to NetSuite order (cash sale or sales order) Unable to create the order in NetSuite for the Shopify order ##########. A mapping error occurred. Could not find a match for \"[[\"nameinternal\",\"isempty\"],\"AND\",[\"isinactive\",\"is\",\"F\"]]\" for the record type \"item\"." The error occurred due to Shopify orders without SKU or the item in NetSuite is inactive. You will need to make sure that all your products have SKUs or the NetSuite items are active.

To resolve this issue:

  1. In NetSuite, check if the item is inactive, update the status as active and retry the error.
  2. In NetSuite, check if the item is active, then manually edit the retry data and add the SKU by viewing the error.
    1. In your integrator.io account, on the Dashboard, select Retry Data and locate the line item and add the SKU value.
    2. Save the changes and then retry the error.
  3. If the issue persists, add a default item for all the items without SKUs, and then retry the error.

Once all your products have SKUs in Shopify, you may keep the settings so whenever you encounter the same error, you will still be able to import the order but using a default item in NetSuite.

Shopify order to NetSuite order (cash sale or sales order) Extension returned statusCode error: 504. 200 is a success. These errors occur during the NetSuite or Shopify's downtime when the flow is run. To resolve the error, go to the Dashboard and retry the error.
Shopify order to NetSuite order (cash sale or sales order) Failed to add Shopify Order #EU1469. A mapping error occurred. Could not find a match for "["itemid","isempty"]" for the record type "item".' Item lookup is broken or set to standard.
Shopify order to NetSuite order (cash sale or sales order)

unexpected 

{ [Error: socket hang up] code: 'ECONNRESET' }

When you try more than four orders (multi-order retry).
Shopify order to NetSuite order (cash sale or sales order)

unexpected 

{ [Error: connect ECONNREFUSED] code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect' }

The database might have disconnected.
Shopify order to NetSuite order (cash sale or sales order)

user_error 

Failed to add Shopify Order #1159. Please enter value(s) for: Bill To

When Bill to is marked mandatory in NetSuite.
Shopify order to NetSuite order (cash sale or sales order)

user_error 

Failed to add Shopify Order #1159. Please enter value(s) for: Ship To

When Ship to is marked mandatory in NetSuite.
Shopify order to NetSuite order (cash sale or sales order)

invalid_key_or_ref 

Invalid price reference key -1

If the custom price levels are not turned on and the item price level is set to the name field in intergrator.io, instead of internal ID.
  • Enable custom/multiple price levels in the company setup.
  • Look into the intergrator.io settings for the order import. The item price level is looking to export a name export field with a number on the export side.
Shopify order to NetSuite order (cash sale or sales order)

unexpected 

{ [invalid_extension_response: Extension result does't contain the same number of elements as the request object.] name: 'invalid_extension_response', source: 'sc4n' }

The error could appear for the following reasons:

  • More than one order per job
  • A conflict in configuration records in NetSuite

Resolution 1:

  1. Go to the intergrator.io dashboard, the error column contains the error descriptions.
  2. Hover over the error.
  3. Select View to open the error dialog.
  4. In the error dialog, select the Checkbox for one Order and select Retry. Then select the next Order and Retry. Do not retry two orders at a time.

Resolution 2: Contact your NetSuite administrator to resolve conflicts in the configuration record.

Shopify order to NetSuite order (cash sale or sales order)

500 

Unable to get the required data from export due to the error: {"errors": "Internal Server Error"}. To resolve the error contact Celigo Support.

The endpoint server not responding.
  1. Go to Connections > Shopify > Actions > Editconnections.
  2. Select Save and authorize.

Select Update Unlisted App in the pop-up window if the Shopify app needs an update. Sign in to Shopify with admin permissions.

Shopify order to NetSuite order (cash sale or sales order) Unable to create the order in NetSuite for the Shopify order #XXXXXXXXX Failed to create, update/transform record because The field contained more than the maximum number ( 300 ) of characters A field in your import contains too many characters. There is a 300-character limit for this field.

Set the handlebar expression below on the export field (Shopify) of the Etail Transaction Id(s).

{{substring sourceTransactionIds "0" "300"}} 

For detailed instructions on the resolution steps, see the Note attribute fields in Shopify.

Shopify Order to NetSuite Order (add) Failed to add/update customer for Shopify order #1234567. Please enter value(s) for: Last Name
  1. Go to integrator.io and navigate to the Shopify - NetSuite integration app tile.
  2. Select the Flows > Order.
  3. Navigate to "Shopify Customer to NetSuite Customer Add/Update" and select the Mapping icon to edit the Field mappings.
  4. In the Mappings section, look for the 'desired field' (i.e. Last Name) in the left column fields. Select Edit (Gear icon) to view the Settings.
  5. Use the "Multi-Select" option & enter this expression:

{{#if $.last_name}}{{$.last_name}}{{else}}{{$.addresses[*].last_name}}{{/if}}

This expression is saying if lastname is not NULL then use lastname, if it is null then use the address Last_name.

Shopify order to NetSuite order (cash sale or sales order) Failed to add/update customer for Shopify order #1234. Could not find mapping in static lookup. { Source: <lookup>} { Key: <value>} Before the order is added, the order flow creates or updates the NetSuite customer using the field mappings and static lookups of the Post customers to NetSuite import in the Shopify customer to NetSuite customer (add or update) flow. The lookup named after Source in the message is one of that import's lookups (for example, the currency lookup on the Currency : Primary Currency (InternalId) mapping), and it has no row for the value shown after Key. The value is typically new to the store, such as the first order in a currency the store recently started accepting.
  1. Select Flows > Order.
  2. Next to the Shopify customer to NetSuite customer (add or update) flow, select Mappings.
  3. Open the lookup named after Source in the error and add a row for the value shown after Key. For a currency, map the Shopify currency code to the internal ID of the active NetSuite currency record.
  4. Save the mappings, and then retry the failed order.

The lookup isn't on the Post orders to NetSuite import, so adding a row there changes nothing. No Celigo Support action is needed.

Shopify order to NetSuite order (cash sale or sales order)

422

Failed to add Shopify Order #…. Order risk data is not in correct format. (Source: Pre map hook)

The Shopify or NetSuite connection has been pointed at a different store or account than the one the integration app was installed with. Retrying the record or editing the order data doesn't help. Install a new copy of the integration app for the new store. See Can I change my Shopify connection after it is installed?.
Shopify order to NetSuite order (cash sale or sales order) Error message: Unable to create the order in NetSuite for the Shopify order #1234. Failed to save record because The total can not be negative.

NetSuite’s computed total for the record falls below zero. This happens when two lines that should cancel each other out are treated differently when the record is saved: an item and its discount line, a replacement item and the exchange-credit line, a gift card redemption line, a refund adjustment, or a shipping charge and its discount. The difference comes from unequal tax treatment, a tax-inclusive amount next to a tax-exclusive one, an adjustment larger than the amount it offsets, or rounding. A Shopify total of 0.00 or more doesn’t rule it out. The orders that fail are usually zero-total exchanges, fully discounted orders, and orders from GST/VAT-inclusive stores.

Documented variants:

  • An order paid by gift card after a declined credit card (fixed in v1.36.8).
  • $0 Shopify native-exchange refunds on tax-inclusive stores with NetSuite calculates taxes and Deduct GST/VAT from the order total turned on (acknowledged known issue; see this Connective thread).
  • The order-variance item not set (see this Connective thread).
  1. Open the error and review the request to see the lines that the integration app sent to NetSuite.
  2. In NetSuite, open the script execution log for the Celigo bundle at the time of the failure and find the entry titled Celigo.integrator.io.Import: $R save exception. It shows what NetSuite computed.
  3. Compare with an order of the same shape that synced.
  4. Don’t remove a valid discount, add a balancing charge, or change store-wide tax settings to make one record save. Instead, open a Celigo Support ticket and include the request lines and the log entries.
Shopify order to NetSuite order (cash sale or sales order) Unable to create the order in NetSuite for the Shopify order #1234. Failed to save record because Transaction was not in balance. Total = 23.93 With Overwrite taxes with Shopify tax amounts and Per-line taxes on transaction enabled in NetSuite turned on, an item line was sent to NetSuite with a tax rate but a $0 tax amount. The line is usually one that Shopify marks non-taxable with $0 tax (a return-protection or shipping-insurance add-on, a fee, or a gift card) whose Shopify tax lines still carry the jurisdiction’s rate, and a customized Items : Tax Rate mapping row that reads those tax-line rates sends the rate anyway. NetSuite calculates each line’s tax as amount × rate, so its total no longer matches Shopify’s. The “Total = N” in the message is NetSuite’s figure. The as-shipped mapping has no such row, so the row is always a customization; the import’s change history shows who added it.
  1. Open the failed request’s item lines. The line whose rate × amount doesn’t equal its tax amount is the one.
  2. In the Shopify order to NetSuite order (cash sale or sales order) flow, open the mappings for Post orders to NetSuite and correct the customized Items : Tax Rate row so that a line with no tax charged gets a 0% rate and taxable lines keep their rate.
  3. Select Preview, then Save & close, and retry the order.

Don’t make the line taxable in Shopify, change the order’s amounts, or change the tax settings to force a balance. If your account uses SuiteTax or an external tax engine, the same message has a different cause.

Error code: "invalid_key_or_ref"

Flow impacted 

Error code/ 

Message 

Likely cause  Resolution 
Shopify order to NetSuite order (cash sale or sales order)

invalid_key_or_ref 

Failed to add Shopify Order #1011. Invalid entity reference key 35007

This error indicates that the particular customer that is referencing, reference key 35007, is no longer an Active Customer.
  1. In NetSuite, from the global search, enter Page: Customers.
  2. On the Customers page, select Edit next to the appropriate customer.
  3. Check the Active check box on the customer record.
  4. Log in to your integrator.io account.
  5. Select the Shopify - NetSuite integration app tile.
  6. Go to Flows > Order, and re-run the order flow.
Shopify order to NetSuite order (cash sale or sales order)

invalid_key_or_ref 

Failed to add Shopify Order #1234. Invalid item reference key 1009 for subsidiary 1.

A subsidiary of the Item record in NetSuite does not match with the Subsidiary on the Customer record.
  1. In NetSuite, go to to Lists > Accounting > Items. Find the Item record with internal id "1009".
  2. Edit the Item Record & set the Subsidiary with internal id "1" & Save the Item Record.

To find the Subsidiary Internal IDs in NetSuite, navigate to Setup > Company > Subsidiaries.

Shopify order to NetSuite order (cash sale or sales order)

invalid_key_or_ref 

Failed to add Shopify Order #1234. Invalid shipmethod reference key 4115 for entity 33676.

A subsidiary of the shipping method does not match with the Subsidiary of the Customer.
  1. In NetSuite, navigate to Lists > Accounting > Shipping Items.
  2. Find the ship method record with internal id "4115".
  3. Edit the record & set the Subsidiary value to the value set on the Customer record with Internal Id "33676"
  4. Select Save.
Shopify order to NetSuite order (cash sale or sales order) Unable to create the order in NetSuite for the Shopify order #485######### due to invalid item reference key 1##3 for subsidiary #.

A subsidiary of the Item record in NetSuite does not match the Subsidiary on the Customer record.

Generally, this error could occur because of permissions issues. For example, an item is designated to be sold only under (Subsidiary 1) and nowhere else. Giving access to the rest of the subsidiaries should resolve this issue.

  1. In NetSuite, go to to Lists > Accounting > Items. Find the item record with internal id "####".
  2. Select Edit.
  3. Scroll to the Classification > Subsidiary section and check the INCLUDE CHILDREN checkbox.
  4. Select Save.
Shopify transaction to NetSuite customer deposit (add)

invalid_key_or_ref 

Failed to create Customer Deposit for Shopify Order XXXXXX due to Invalid reference key of Order XXXXXX for Customer XXXXXX.

Reason 1: If you map the payment method on the sales order, NetSuite restricts to a create customer deposit.

(OR)

Reason 2: Occurs when the sales order bills before the deposit can be created in NetSuite from Shopify, orders that do not require fulfillment in Netsuite will automatically bill, which happens before the deposit can successfully be posted

Solution 1:

  1. Remove the payment method mappings on the Shopify order to NetSuite order (cash sale or sales order) flow.
  2. Create the mappings on the Shopify transaction to NetSuite customer deposit (add)flow.
  3. Remove the existing payment record on the NetSuite sales order.
  4. Retry the error on the integration app Dashboard.

Solution 2:

Import such orders in a pending approval status and approve them once the deposit has been created.

Shopify and NetSuite customer flow errors

Flow impacted  Error code/Message  Likely cause  Resolution 
NetSuite customer to Shopify customer (add or update) Unable to find the customer ID #1234567 in Shopify.
  1. Log in to your NetSuite account with admin credentials.
  2. In the global search box, enter "Page: Customers".
  3. On the Customers page, next to the appropriate customer, select Edit.
  4. Go to eTail tab > Celigo Shopify Customer Id Map sub-tab.
  5. Delete the “Celigo Shopify customer ID map.”
  6. Select Save.
  7. From your Shopify NetSuite integration app, go to Flows > Order.
  8. Run the NetSuite customer to Shopify customer (add or update) flow.
NetSuite customer to Shopify customer (add or update) Unable to find the eTail customer address ID's ["1234567", "12434545"] for Shopify customer ID #123444567.
  1. Log in to your NetSuite account with admin credentials.
  2. In the global search box, enter "Page: Customers".
  3. On the Customers page, next to the appropriate customer, select Edit.
  4. Go to eTail tab.
  5. Delete the eTail address IDs that are not found in Shopify.
  6. Select Save.
  7. From your Shopify - NetSuite integration app, go to Flows > Order.
  8. Run the NetSuite customer to Shopify customer (add or update) flow.
Shopify customer to NetSuite customer (add/update)

user_error 

Failed to add/update customer for Shopify order #****6. Please enter a value(s) for, First Name and Last Name.

When no customer details are provided while placing an order. Ensure the customer details are provided while placing the order.
Shopify order to NetSuite order (cash sale or sales order) Failed to add/update customer for Shopify order #1****6. shopifyCustomerImportPostMapHook is not a Class This error occurs when the bundles in NetSuite do not match the version of the integration app. To resolve this error, ensure that you match/update the Celigo integrator.io and Celigo Shopify Connector bundles in NetSuite.
Shopify customer to NetSuite customer (add/update)

exceeded_max_field_length 

Failed to add/update customer for Shopify order #1157. The field Add phone contained more than the maximum number ( 50 ) of characters allowed.'

When the value of the customer's phone number crossed the maximum limit. Ensure the number of characters in the customer's phone number field doesn't cross the maximum limit.
Shopify customer to NetSuite customer (add/update)

invalid_fld_value 

You have entered an Invalid Field Value June for the following field: add phone

The value for the field "Phone" on the customer address is incorrect.

Solution 1: Edit the data in the error dialog in integrator.io.

  1. In the integrator.io dashboard, select the Shopify Connector Tile. The jobs are listed.
  2. In the Error column, locate the specific error in the dialog box.
  3. Select the Edit icon and modify the desired value.
  4. Select Save.
  5. Select Retry to trigger the flow successfully.

Solution 2: Edit the customer address data on the order in Shopify.

  1. Go to the Order record in Shopify.
  2. Select Edit to modify the Address fields.
  3. Select Save.

Shopify and NetSuite fulfillment errors

Flow impacted  Error code/Message  Likely cause  Resolution 
Shopify fulfillment to NetSuite fulfillment (add) Failed to save the fulfillment record for the order #2966243868805 as Failed to create, update/transform record because You have entered an Invalid Field Value NaN/NaN/ NaN for the following field: trandate.
  1. Go to Flows.
  2. Next to the Shopify order to NetSuite order (cash sale or sales order) flow, select Mappings.
  3. Next to the below mapping, select Settings.

    Export field (Shopify)  Import field (NetSuite) 
    updated_at Date
  4. On the Settings window, in the Date format drop-down menu, select MM/DD/YYYY.
  5. Select Save & Close.
  6. Run the flow.
Shopify fulfillment to NetSuite fulfillment (add)

Error code: item_not_found

Error message: Failed to save the fulfillment record for the order #2966243868805 as The item with ETAIL ORDER LINE ID 642362317222911 is not available on the NetSuite sales order 2966243868805.

  1. Open the respective Order in NetSuite.
  2. Check if a line item exists with the mentioned order line ID.
  3. If the order line ID exists for the adjusted line, sync the updated order using the Shopify order to NetSuite order (cash sale or sales order) flow.
  4. Go to Dashboard and retry the error.

Note: If the eTail Order Line ID exists on the NetSuite sales order and the values match, but the error still occurs, check the data type of the Items: eTail Order Line ID mapping in the flow. The data type must be set to String. A numeric or unset data type causes the validation to fail even when the IDs appear identical. Update the mapping data type to String, save, and retry the error from the Dashboard.

Shopify fulfillment to NetSuite fulfillment (add) Failed to save the fulfillment record for the order #3650601517189 as Failed to save record because Please configure the inventory detail in line 4 of the item list.

As per the message mentioned in the "Error message" column, requires to configure the inventory detail for line 4. Perform the following steps:

  1. Verify if the inventory status check box is checked in NetSuite.
  2. If yes, please assign the sub-record mapping details by following the steps mentioned in Assign status details to Shopify inventory.
Shopify fulfillment to NetSuite fulfillment (add)

Error code: item_already_fulfilled

Error message: The requested fulfillment quantity for the order line item #### (order ####) is either more than the available quantity or already fulfilled. Available quantity in NetSuite: ## Order item quantity: ##

Quantity mismatch
  1. In NetSuite, open the respective order.
  2. Check the quantity for the order line. mentioned in the error.
  3. If the quantity for the particular order line is updated as part of the order edit adjustment, then retry the error, the Shopify order to NetSuite order (cash sale or sales order) flow captures this edit and syncs to NetSuite.
  4. Or else, if the order is manually fulfilled, then the error can be resolved on the Dashboard.
Shopify fulfillment to NetSuite fulfillment (add)

Error code: invalid_key_or_ref

Error message: Failed to save the fulfillment record for the order #3660927926405 as Failed to save record because Invalid location reference key 700 for subsidiary 3.

Location not found OR subsidiary mismatch on item and location in NetSuite.
  1. Be sure to check the location ID in the flow's mapping.
  2. The subsidiary on the location and item is the same in NetSuite.
Shopify fulfillment to NetSuite fulfillment (add)

Unable to get the required data from export

due to the error: Failed to generate request url from template: https://****.myshopify.com/admin/api/2023-01/orders.json?updated_at_min={{{lastExportDateTime}}}&fields=fulfillments,id&status=any

&fulfillment_status=any. Details: "lastExportDateTime" not defined in the model. - 1:84.. To resolve the error, contact Celigo Support.

The error occurred because of the incorrect selection of the export type.

To resolve this error:

  1. Go to Connections > Shopify > Actions > Edit connections.
  2. Select Save and authorize.

If this above-provided solution doesn't resolve the problem, follow the below steps:

  1. Go to Flows.
  2. Next to the Shopify fulfillment to NetSuite fulfillment (add) flow, select Get order fulfillment from Shopify export.
  3. Next to the below mapping, select Settings.
  4. From the Export type dropdown list, select Delta - export only modified data.
  5. Now, go to the integrator.io dashboard and view the error dialog.
  6. Select Retry to re-run the flow successfully.
NetSuite fulfillment to Shopify fulfillment (add) 

422 

{"errors":{"base":["Line item \'ABC\' is already fulfilled"]}}

Line Item cannot be fulfilled in Shopify. It has either been already fulfilled or refunded in Shopify.
  1. In your integrator.io account, select the "Retry Data" button with the pencil icon & note down the "order_number" of the fulfillment that failed to export.
  2. In Shopify, Navigate to the above-found order & check if the line item "ABC" is already fulfilled or refunded.
  3. If all the items on the order are already fulfilled, skip steps 4 & 5 and jump to step 6.
  4. In NetSuite, navigate to the fulfillment record & manually update the record to remove items that cannot be fulfilled anymore & uncheck the "ETAIL ORDER FULFILLMENT EXPORTED" checkbox so that you can re-trigger the export.
  5. Save the NetSuite fulfillment record.
  6. Once the record is successfully exported, mark the previous error as "Resolved" in your integrator.io account.
NetSuite fulfillment to Shopify fulfillment (add)  404{"errors": "Not Found"} When there is a change in eTail order line ID.
  1. Go to NetSuite > Locate your Order ID.
  2. Navigate to the fulfillment record from the Order ID record.
  3. Select Edit.
  4. Check for the "eTail Order Line ID" at the line level.
  5. Provide a valid ID and Save the record.
  6. Now, go to the integrator.io dashboard and open the Error dialog of the job.
  7. Select the Job and select Retry to re-run the Fulfillment flow successfully.
NetSuite fulfillment to Shopify fulfillment (add)  Blank error message. When there is a mismatch in item quantity. Check if the QTY is fulfilled at line-level items in both systems.
Shopify fulfillment to NetSuite fulfillment (add) Failed to save the fulfillment record for the order #<order number> as Could not find mapping in static lookup. { Source: <lookup name>} { Key: <Shopify location id>} The line-level location lookup on the Post order fulfillment to NetSuite import (the location_id → Items : Location (InternalId) lookup described in Sync your fulfillment from Shopify to NetSuite) has no row for this Shopify location. This usually happens with a location added after setup, such as a POS, event, or 3PL location. Open the mapping for the Post order fulfillment to NetSuite import, add a row to the location lookup that maps the Shopify location ID shown in the error to the NetSuite location, and then retry the errors. The Map NetSuite locations with Shopify locations setting under Settings > General maps locations for the NetSuite to Shopify direction and doesn't apply to this import.
NetSuite fulfillment to Shopify fulfillment (add) (GraphQL), step Update fulfillment order location 422 — New location must be greater than 0 The Map NetSuite locations with Shopify locations setting has no usable Shopify location for the fulfillment's NetSuite location: there is no row or default for it, or the row's Shopify location no longer exists in the store (for example, it was deleted and re-created, so the row still shows the right name).

1. Go to Settings > General > Map NetSuite locations with Shopify locations, refresh the Shopify locations, delete and re-add the row for that NetSuite location (or set the default), and select Save.

2. On the NetSuite item fulfillment, clear eTail Order Fulfillment Exported on the eTail subtab and run the flow, or retry the error.

NetSuite fulfillment to Shopify fulfillment (add) Quantity must be greater than 0 or Fulfillment payloads fulfillment order line items must contain unique line item ids The flow's saved search returns more than one row for the same eTail Order Line Id: the operational line plus the COGS and inventory posting rows. The fulfillment is then sent with duplicate lines or negative quantities. Update the saved search criteria as described in Resolve NetSuite fulfillment export errors caused by duplicate lines or negative quantities. Then reprocess the fulfillment: on the NetSuite item fulfillment, clear eTail Order Fulfillment Exported and run the flow again. Don't retry the error.
NetSuite fulfillment to Shopify fulfillment (add), step Post order fulfillment to Shopify 422 error: the fulfillment order is on hold (on_hold) A sales channel app placed a fulfillment hold on the Shopify fulfillment order, and Shopify doesn’t accept a fulfillment until the hold is released. For example, the TikTok Shop app holds each order for one hour after payment. If the item fulfillment reaches Shopify during that hour, the fulfillment fails, so the error appears on some fulfillments and not others. The hold is placed after the order is imported into NetSuite, so you can’t filter these orders out during the order import.

Retry the error after the hold is released. The hold is released automatically when the sales channel’s hold window ends, so you don’t need to change the NetSuite record.

To keep this error from recurring, add a criterion to the item fulfillment saved search selected in Settings > Fulfillment that leaves out item fulfillments whose sales order was created within the hold window (for TikTok Shop, about 90 minutes). The flow picks up those item fulfillments on a later run, so none are lost, and fulfillments past the window aren’t delayed.

Shopify product flow errors

Flow impacted  Error code/Message  Likely cause  Resolution 
Shopify product ID to NetSuite item (mass update)

value_lookup_failed 

A mapping error occurred. Could not find a match for "["itemid","isempty"]" for the record type "item".

SKU field on the corresponding item in Shopify is empty.
  1. In your integrator.io account, select the "Retry Data" button & locate the SKU field with a null value.
  2. Populate the correct "SKU" value on the Shopify Item record.
  3. Also, replace the null value in the JSON with the correct SKU value as entered on the Shopify Item record.
  4. Select the "Retry" button to re-import the data into NetSuite.
NetSuite Matrix item to Shopify Product Add/Update

sss_time_limit_exceeded 

Script Execution Time Exceeded.

It is possible that the data is too large and you might need to break the data into smaller pieces so that the flow could handle it.

This can happen if the Export Type has been set to All . The default export type is Delta which means it will only export the data that has changed since the last run.

  1. In your integrator.io account, select Actions > Edit flow .
  2. Select Export .
  3. In the Configure export type section, from the Export Type drop-down list , select Delta.
  4. Go to the Advanced section, leave the Batch size limit blank, and set the Page size to 15.
  5. Select Save & Close .
  6. Run the flow.

If the issue persists, change the page size to 10 and re-run the flow. Keep decreasing the page size until you find the value that would allow the flow to run successfully.

NetSuite item to Shopify product (add or update) and NetSuite matrix item to Shopify product (add or update) No error. Products update in Shopify but aren't published to a sales channel, even though Sync published scope from NetSuite to Shopify is enabled. The item saved search used by the flow doesn't have a result column with the custom label Shopify Product Scope, or the column has a different label. The integration app reads the sales-channel names only from that column.
  1. In NetSuite, open the saved search used by the flow.
  2. In Results, give the column that holds the Shopify Product Visibility values the custom label Shopify Product Scope, and save the search.
  3. Run the flow again.

For more information, see Publish scopes in Configure the new GraphQL-based Product flows.

Shopify inventory flow errors

Flow impacted  Error code/Message  Likely cause  Resolution 
NetSuite inventory to Shopify inventory (add or update) {"errors":["Inventory item does not have inventory tracking enabled"]} The error occurs because the product does not have inventory tracking enabled in Shopify.

The products in Shopify must have inventory tracking turned on. To enable inventory tracking in Shopify, follow the steps below:

  1. Sign in to your Shopify account.
  2. Go to Products.
  3. Select the product name or a specific variant you want to track.
  4. In the Inventory section, enable Track quantity.
  5. Select Save.
  6. Now, go to the integrator.io dashboard and view the error dialog.
  7. Select Retry to re-run the flow successfully.
NetSuite inventory to Shopify inventory 

404 

{"errors":"Not Found"}

Variant Id on the NetSuite Item is incorrect/nonexistent in Shopify.
  1. In your integrator.io account, select the "Retry Data" button with the pencil icon & note down the "Internal Id/Id" of the item that failed to export.
  2. In NetSuite, navigate to Lists > Accounting > Items. Find the item record with the above found internal ID.
  3. Edit the record & set the correct Variant Id in the "Product Variant Id" field under the "eTail" tab as present on the item in Shopify.

Shopify and NetSuite refund errors

Flow impacted  Error code/Message  Likely cause  Resolution 
Shopify refund to NetSuite refund (add) Transaction Not in balance. Amount: <>

This error is most commonly seen in NS accounts that have some specific tax-related setup like AvaTax or SuiteTax.

The error might occur while refunding orders paid via gift card in addition to the refund adjustment scenario.

  1. Log in to your integrator.io account.
  2. Go to Flows > Refund.
  3. Next to the Shopify refund to NetSuite refund (add) flow, select Mappings.
  4. On the Edit mapping window, select Post order refunds (invoice or cash sale) to NetSuite.
  5. Configure the following mapping:

    Export field (Shopify)  Import field (NetSuite) 

    You can hard code the value of the Shopify discount item configured in NetSuite in

    "quotes" or configure as a lookup

    Discount (InternalId)
  6. Select Save & close.
  7. On the integration app Dashboard, you select Retry to resolve the error.
Shopify refund to NetSuite refund (add)

no_quanity_left_for_refund

Failed to refund order #<order number>, There is no quantity left to refund for the item #<item>

Before it creates the NetSuite refund, the flow compares the quantity requested on the Shopify refund line with the quantity still refundable on the matching NetSuite invoice or cash sale line. The error appears when nothing is left to refund on that line, usually because the line was already refunded through another path: a returns app such as Loop Returns, a manual credit memo or cash refund in NetSuite, or an earlier Shopify refund.

It can also appear when the Shopify refund line can't be matched to the NetSuite billing line.

In NetSuite, open the invoice or cash sale for the order and check whether the line is already refunded (a return authorization, credit memo, or cash refund against that line).

If a refund already exists, the order needs no further refund in NetSuite. Resolve the error from the integrator.io dashboard.

If no refund exists, check that the Shopify refund line matches a line on the NetSuite invoice or cash sale.

NetSuite refund to Shopify refund (add)

Cannot invoke "com.netledger.

core.session.NLSession.

getCompany()"

because the return value of "com.netledger.app.site.

hosting.restlet.getNLSession()" is null

This error occurs during the NetSuite downtime when the flow is run. There is no data processed during that time and no data is lost. To resolve the error, run the flow again after 10 minutes.
NetSuite refund to Shopify refund (add) In NetSuite, you are trying to refund more than the Shopify expected amount for the order ####. NetSuite refund amount #### and Shopify expected amount - ###. The eTail Order Line Id field isn't shown on the NetSuite transaction forms, and NetSuite item to track custom refund adjustments is blank. Together, these make the Shopify expected amount 0.
  1. In NetSuite, show the eTail Order Line Id field on the item lines of these transaction forms:
    • For invoices: Sales Order, Invoice, and Credit Memo. Also Return Authorization if the credit memo comes from a return.
    • For cash sales: Cash Sale and Cash Refund.
  2. In the integration app, go to Settings > Refund > NetSuite to Shopify and select an item in NetSuite item to track custom refund adjustments.
  3. Run the NetSuite refund to Shopify refund (add) flow again.
NetSuite refund to Shopify refund (add) In NetSuite, you are trying to refund more than the Shopify expected amount for the order ####. NetSuite refund amount #### and Shopify expected amount - ###. The order is already fully refunded in Shopify. Don't delete or void the NetSuite credit memo or cash refund, and don't retry the error. On the record's eTail subtab, select Etail Refund Exported. Then resolve the error in the integration app.

To view the export record that has an error in the Refund flow:

  1. Open your Shopify URL domain in a new window. Here is the format of the Shopify URL: https://admin.shopify.com/store/your-store-name/.
  2. In your integration app, follow any of the below paths:

    1. Go to Flows > Refund.
      1. Select the flow that contains the error and select Errors.
      2. Copy Export Id from the error.
    2. Go to the Dashboard page and select Errors to view the error.
      1. Copy Export Id from the error.
    refund_error.png
  3. At the end of the Shopify URL, paste the Export Id.
  4. Remove the API version ‘admin/api/XXXX-XX’ from the URL.
  5. Press Enter and you can now view the same record that has an error.

    URL.png

Shopify and NetSuite billing errors

Flow impacted  Error code/Message  Likely cause  Resolution 
Shopify transaction to NetSuite customer deposit (add) Invalid salesorder reference key XXXX for customer XXXX The error occurs because the Sales order with internal ID is not available to the customer deposit in NetSuite.

To resolve this error, manually add the customer deposit in the NetSuite.

  1. Sign in to your NetSuite account.
  2. Go to Transaction > Customer, select Record Customer Deposits.
  3. Select the customer record with the internal ID XXXX mentioned in the error message.
  4. In the SALES ORDER field, manually add the sales order reference key.

    In case the sales order internal ID is not available in the dropdown,

    • Try toggling the Currency or Account field and check for the sales order.
    • Check the status of the sales order. NetSuite does not allow the creation of customer deposits for sales orders with Billed status. You can either create a Payment record for the Invoice or delete the invoice and then retry the error message.

      Note: You can recreate the deleted invoices using the NetSuite sales order to NetSuite invoice (add) flow, if the eTail Order Auto Billing Exported checkbox is unchecked in the sales order record.

  5. Select Save.
  6. Now, go to the integrator.io dashboard and view the error dialog.
  7. Select Retry to re-run the flow successfully.
Shopify transaction to NetSuite customer deposit (add) Failed to create Customer Deposit for Shopify Order: XXXXXX. A mapping error occurred. More than one match for "["internalid","isempty"]" for the record type "Sales Order". The flow also runs for Shopify orders that already exist in NetSuite, so it can create customer deposits that were missed earlier. For these orders, the flow doesn’t have the NetSuite sales order internal ID. A lookup mapping that searches for the sales order by internal ID then searches with an empty value and finds more than one sales order. In most cases, the customer deposit for the order already exists in NetSuite.

In the Shopify transaction to NetSuite customer deposit (add) flow, open the mappings for the Post customer deposit to NetSuite import. Update the settings of every lookup mapping whose Search record type is Sales Order and whose filter is Internal ID is Sales Order Id, for example Department (InternalId) or Location (InternalId). Use either option:

  • Option 1: Replace the Internal ID filter with two filters: eTail Order Id is order_id, and Shopify Store Id is storeid. The Lookup filter expression then reads [["custbody_celigo_etail_order_id","is","{{{order_id}}}"],"AND",["custbody_celigo_shopify_store_id","is","{{{storeid}}}"]]. If the field list shows more than one eTail Order Id field, select the one that produces custbody_celigo_etail_order_id. Another field returns the error "Could not find a match".
  • Option 2: Select Discard if empty. Then, in Action to take if unique match not found, select Use null as default value.

Select Save & close, and then retry the errors.

Shopify transaction to NetSuite customer deposit (add) invalid hook function "shopifyCustomerDepositImportPostMapHook" The 2026.10.1 release added a post-map hook to the customer deposit import. The hook runs in NetSuite from the Celigo Shopify connector bundle (81289). The integrator.io side of the update can reach your account before the NetSuite bundle update does, and until the bundle is updated in your NetSuite account, every record on the import fails with this error. The same happens to other hooks from the release, for example shopifyCancelOrderImportPostSubmitHook on the cancellation flow. The record data isn’t involved. A missing hook file is a different message (“failed to load file … That record does not exist”); this one means the file is there but the function isn’t in it yet. Production NetSuite accounts receive the bundle update in Celigo’s gradual push. To get it sooner, open a Support ticket requesting the Shopify connector bundle (81289) update and include your NetSuite account ID. See Request a Celigo SuiteBundle update to your NetSuite Production account. In a sandbox account, update the bundle yourself: go to Customization > SuiteBundler > Search & Install Bundles > List, and select Update for the bundle. Don’t remove or edit the hook on the import; it is part of the integration app. After the bundle is current, retry the failed records. The app’s duplicate prevention applies.
NetSuite sales order to NetSuite invoice (add) Failed to create, update/transform record because you can not initialize invoice: invalid reference *****. This error occurs if the status of the sales order is either "Billed" or "Closed".

To resolve this error:

  1. Go to the integrator.io dashboard and view the error dialog.
  2. In Error Details > Edit retry data tab, select Resolve and next.
NetSuite sales order to NetSuite cash sale (add) Failed to save record because the transaction date you specified is not within the date range of your accounting period.' It seems like the date that is being set for the creation of the transaction record is not within the date range of the accounting period. It's possible that the accounting period is not set for that year.

Open the accounting period for the date on when the transaction is being set or set up NetSuite such that it allows setting transaction date outside the posting period.

To do this:

  1. Go to the Setup>Accounting>Accounting Preferences>Generaltab.
  2. In the setting Allow Transaction Date Outside of Posting Period,set to Allow.
Data flow: netsuite-shopify-billing-exportadaptor unexpected_error - null This has been seen when the Shopify store id is being used in the saved search and NetSuite is timing out during the export. This error occurs on flows. You can fix this issue by changing the filter to Shopify Store Name in the saved search and then running the flow manually.
NetSuite sales order to NetSuite invoice (add) Auto-billing sales orders are not working After running the saved search in NetSuite, there were a few results that showed "payment method", which means that all those orders need to be billed as a "cash sale", and not an "invoice". The flow NetSuite sales order to NetSuite invoice (add) will only process those orders which are to be billed as "invoice". To process the other orders which show "payment method", you need to enable and run the NetSuite Order to NetSuite Cash Sale Add flow.
Shopify price discounting is not updating If line level discounts is set to "Adjustments", the Celigo Integration App will automatically update the line item price mapping. If you may have modified that and would like to revert to the original, please change to: {{#if $.line_items[*].total_discount }}{{subtract $.line_items[*].price (divide $.line_items[*].total_discount $.line_items[*].quantity)}}{{e lse}}{{$.line_items[*].price}} {{/if}} .
Data Flow: auto-billing-cashsale-import-adaptor flow user_error - null' - "Failed to create, update/transform record because Please enter a value for amount When checking the retry data, data for Amount is not included. This means that the Saved Search does not return the value for the amount cause it is not on the list of results.
  1. Log in to your integrator.io account.
  2. Go to Settings > Billing, and look for the saved search used for auto-billing.
  3. Select the arrow pointing to the right to open the saved search criteria on NetSuite.
  4. Make sure to add the Amount on the Results tab and then save the changes.
  5. Uncheck the "ETAIL ORDER AUTO BILLING EXPORTED" field in the sales order that erred out.
  6. Re-run the NetSuite sales order to NetSuite cash sale (add).

Source: Shopify

Error message  Resolution 
In NetSuite, you are trying to refund more than the Shopify expected amount for the order ####. NetSuite refund amount #### and Shopify expected amount - ###. See Shopify and NetSuite refund errors.
The "Product title" field is a mandatory field in Shopify and the value is empty. Enter a value in the field and retry to sync your products.
Map at least one location in the "Map NetSuite locations with Shopify locations" setting or select a default Shopify location from the "Use Custom Default Value" drop-down list. See Support for Shopify multi-inventory.
Unable to find the corresponding payout custom record in NetSuite for the Shopify payout ###.
  1. Check if the Payout ID mentioned in the error message exists in the NetSuite account.
  2. If the Payout ID doesn’t exist, please trigger the Payout flow with a historic date selected as per the Payout.
  3. This trigger will also create the Deposit record.
  4. Once the flow is successful, mark the original error as Resolved.