Troubleshooting
This section provides guidance for diagnosing and resolving common issues encountered when using the Shopify BC Connector with Microsoft Dynamics 365 Business Central. Use the Quick Troubleshooting Table to identify the issue, then follow the Resolutions and Diagnostic Steps. For order, fulfillment, posting, and cancellation problems, see Order management and fulfillment troubleshooting.
Before troubleshooting, verify the following:
- The Shopify store is connected in the Shopify Shop Card.
- The required Job Queue Entries are active.
- Synchronization settings are configured correctly.
- The Shopify store has the required API permissions.
Quick Troubleshooting Table
| Issue | Cause | Resolution |
|---|---|---|
| The partner or customer does not receive the installation link after filling out the Contact Me form on the Marketplace listing for the Shopify BC Connector. | The installation link email is not delivered after the Contact Me form is submitted. | Install the extension by using the direct link: https://businesscentral.dynamics.com/<tenantID>/<environment>/?noSignUpCheck=1&filter=%27ID%27%20IS%20%2775618fa1-415d-4a07-9de1-8f9fbd29e2ee%27&page=2503 Note: The installation link for the Shopify BC Connector is always the same. Replace only the <tenantID> and <environment> values with the partner’s Business Central tenant and environment. For more information, see Installation. |
| Product creation fails due to missing Inventory Posting Group | The item does not have a valid Inventory Posting Group assigned, or the inventory setup for the location is incomplete. | Open the Inventory Posting Setup Card and assign a valid Inventory Posting Group Code for the relevant location (e.g., the WEB location). |
| Product creation fails because productOptions is blank in the request | Variant option name (e.g., Size or Color) is missing in the Item Variant Framework configuration. | Add the required option name (e.g., Size or Color) in the Description column on the Item Variant Framework page. After updating the configuration, run Refresh Variant Settings, Register Variants, and optionally Update All Group Values. |
| Shopify Market Catalogs is not visible on the Shopify Shop Card | The Shopify Market Catalog page may not be visible directly on the Shopify Shop Card or the action may not be available in the current view. | Use the Search feature in Business Central and search for Shopify Market Catalog to open the page directly. |
| Price updates are not synchronized when running Market Price Sync | The product is in Draft status, which prevents the integration from sending price updates during synchronization. |
Change the product status to Active, verify the price list lines, and run Sync Prices again Note: Market price synchronization requires the product to be Active in Shopify. Products with Draft status may not receive market price updates during synchronization. |
| Error “Location WEB not found in Store WEB” when creating sales orders from Shopify orders | The location used for order processing is not configured or assigned correctly in the store setup. | Create the required location (e.g. WEB) and assign it to the corresponding store Store WEB. After updating the configuration, run the order import again. |
| Posting of Sales Orders fail to update Posted Sales Invoice No. in the Shopify Orders table | The Send LS Commerce Messages option is disabled in Customer Order Setup, or an incorrect webhook URL is configured in the Functionality Profile for Commerce Webhooks. | Enable Send LS Commerce Messages in Customer Order Setup and verify the webhook configuration in the Functionality Profile. Remove incorrect webhook URLs if necessary and retry posting the Sales Order. |
| Fulfillment updates are not sent to Shopify for Click & Collect (C&C) orders |
Check Send LS Commerce Messages as above and Post Fulfillments under Shopify Shop Card. Compression is not enabled in CO Setup, resulting in the CO Status data not containing quantity information required for fulfillment updates. |
Enable Post Fulfillments in Shopify Shop Card. Enable Compression in CO Setup so that quantity information is included in the CO Status data. After updating the configuration, process the order again to send the fulfillment update to Shopify. Note: Fulfillment updates require valid quantity information in the CO Status data. If this information is missing, the system will not send fulfillment updates to Shopify. |
| Posted Invoice No. is not updated in the Shopify Orders table, and the Processed checkbox remains unmarked after posting the Sales Order. | Another eCom integration setup (e.g., Shopify Administration configured with same store S0013) exists alongside the Shopify Shop Card setup and intercepts the shipment event, preventing theBusiness Central Shopify connector from receiving it. The Shipping Agent is missing in the Shopify order data, preventing the system from triggering the shipping event. |
Remove or disable the conflicting Shopify integration setup so the shipment event can be processed by the correct connector. Verify the Shipping Method Mapping in the Shopify Shop Card and ensure the Shipping Agent is correctly assigned to the order. |
| Error “The record in table Shopify Mapping already exists.Identification fields and values: ID='S0013",Mapping Type=Tender",External Code 1 ='BOGUS',External Code 2="” occurs when running Migrate Data | A mapping entry for the same record already exists in the Shopify Mapping table. | Open Actions - LS Central Extension - Tender Type, delete the existing mapping entry, and run Migrate Data again to recreate the mapping. |
| Error “Shopify Shop Location does not exist.” occurs when creating a Customer Order (CO) | Shopify locations have not been retrieved or mapped. | Navigate to Locations, select Get Shopify Locations, and configure the location mapping. Then create the Customer Order (CO) again. |
| Error “Item not found” occurs when attempting to fulfill an order after running Migrate Data | The LS Shopify store is not correctly configured, causing product and mapping data not to be migrated to the Business Central Shopify Connector. | Configure the LS Shopify store correctly on the Shopify Administration page, connect it with the Business Central Shopify Connector, and run Migrate Data again. This will migrate products, metadata mappings, image mappings, and tender mappings. After the migration is complete, recreate and fulfill the order again. |
| Error “The Shopify Shop does not exist. Identification fields and values: Code='SC013'.” occurs when fulfilling an order | Orders exist in the Shopify Orders table that reference a Shopify Shop Code SC013 that no longer exists or is not configured in the system. | Navigate to Shopify Orders in Business Central and delete the orders associated with the shop code SC013. After removing the invalid records, retry fulfilling the order. |
| Posted Invoice No. is not updated in the Shopify Orders table and the Processed checkbox remains unmarked after running Migrate Data | The Send Fulfilment option is enabled in LS Shopify Connector, which interferes with the processing of the order data during migration. | Disable Send Fulfilment in LS Shopify Connector, then create and post the order again. |
| Tracking number is not updated to Shopify | Fulfillment status was not synchronized before updating the tracking number. | After posting the Sales Order, run Sync Shipment to Shopify to synchronize the fulfillment status. Then enter the tracking number on the SO Posted Shipment. The tracking number will be automatically updated to Shopify. |
| When trying to do the pickup for Local Delivery order, an error appears: “No Default Agent Shipping set” in the picking window | No record is configured on the Customer Order Default Shipping Agents page, resulting in missing default shipping agents. | Open Customer Order Setup, navigate to Shipping Agents, and add the click & collect store along with the corresponding shipping agent and agent service. |
| After pasting the API Key, the API Key field appeared blank, leading to the assumption that the value was deleted or cleared upon insertion. | This behavior is expected by design, so the entered value is not displayed after input. | The API Key field is designed as an input-only field. The API Key is securely stored in the system but is not displayed in the API Key field. |
|
Error "Location S0001 not found in store S0013" Note: In this example, S0013 is the main store and S0001 is the C&C store. |
Orders are being created using the standard BC Shopify, Create Sales Orders process instead of the Create Customer Orders process | On the Shopify Orders page, use Create Customer Orders instead of the default Create Sales Orders process. Before synchronizing orders, disable Auto Sync Orders and Auto Create Sales Orders on the Shopify Shop Card, then synchronize the order again. |
| Enabling the Enabled toggle on the Shopify Shop Card results in a failure, and a red error icon is displayed. | Hover over the red error icon to check the message. If it mentions an HTTP request error, this is because the Allow HttpClient Requests option is disabled for the extension. | Open Extension Management. Search for Shopify BC Connector for LS Central and select it. Make sure Allow HttpClient Requests is enabled. |
| Sending an item to Shopify fails with the error “OPTIONS_OVER_LIMIT”. | Shopify allows a maximum of 3 options per product, and this limit cannot be changed. The product sent for the item to Shopify has more than 3 options. In Business Central, this happens when the item has more than 3 variant dimensions. |
Check how many variant dimensions the item has. If the item has 3 or fewer, rerun the product synchronization. If the item has more than 3, it cannot be sent to Shopify as a single product. Reduce the item to 3 or fewer variant dimensions, or split it into separate items so that each one stays within the limit. Then send the product again. Note: The limit comes from Shopify and cannot be changed in the connector or in Shopify. |
| Two Shopify stores are set up in Business Central with the same Shopify Admin URL. | A Shopify Admin URL can only be connected to one Shopify store in Business Central. Pointing two stores to the same URL is not supported. | Keep only one Shopify store and set its URL to the Shopify web shop. Open Location Mapping and map each Shopify location to the correct LS Central store. |
Order management and fulfillment troubleshooting
Use this section to resolve common problems with Shopify order synchronization, posting and fulfillment updates.
How order and fulfillment updates work
Understanding the flow makes it easier to find where a problem occurs.
- The Shopify BC Connector is configured on the Shopify Shop Card, in the LS Central Extension section.
- Orders and fulfillments are synchronized between Business Central and Shopify. The scheduler does this automatically, or you can do it manually from the Shopify Orders page.
- You create Customer Orders by using Create Customer Orders.
- When you post the Customer Order, the following happens:
- The Sales Order gets the Posted Invoice No.
- The Processed check box is selected.
- The Shopify order is updated to Fulfilled.
Verify the setup first
Check the following setup first. Most problems come from one of these settings.
| Area | Where to check | What to verify |
|---|---|---|
| Shop configuration | Shopify Shop Card |
Locations are configured. Shipment Method Mapping is configured. Post Fulfillments is selected. |
| Shipping | Shipment Method Mapping page | Each shipping method used on Shopify orders is mapped to a shipping agent. |
| Additional | Customer Order Setup page, LS Commerce FastTab | Send LS Commerce Messages is enabled. |
Quick reference
| Problem | Most likely cause | Go to |
|---|---|---|
| Customer Order synchronization or posting fails. | Locations or Shipment Method Mapping is not correctly mapped on the Shopify Shop Card. | Customer Order synchronization or posting fails |
| C&C updates are not sent to Shopify. | Send LS Commerce Message, or Post Fulfillments is disabled. | Fulfillment or pickup updates are not sent to Shopify for C&C orders |
| You cannot enable Send LS Commerce Messages again after disabling it. | The Service URI field is empty. The check only requires that the field is filled in, even if you have no legacy Commerce Service. | You cannot enable Send LS Commerce Messages again |
| Error when you select Send LS Commerce Messages. | LS Commerce Func. Profile ID or its Service URI is not set. | An error occurs when you select Send LS Commerce Messages |
| Order is not Fulfilled in Shopify after posting, with no error. | No shipping agent, Post Fulfillments cleared, or fulfillment order no longer open. | The order is not marked as Fulfilled in Shopify after you post the Sales Order |
Customer Order synchronization or posting fails
What you see
A Customer Order from Shopify does not synchronize to LS Central, or posting the order fails.
Why it happens
Locations or Shipment Method Mapping is not configured correctly on the Shopify Shop Card. Without these, LS Central cannot match the Shopify order to a location or shipping method.
How to fix it
- Open the Shopify Shop Card.
- Check that Locations are configured for the locations that your Shopify orders use.
- Open Shipment Method Mapping and check that each Shopify shipping method is mapped to a shipping method and shipping agent in LS Central.
- Synchronize the order again from the Shopify Orders page, or wait for the scheduler to run. Then post the order.
|
Note: Customer order synchronization and posting fail if Locations and Shipment Method Mapping are not configured on the Shopify Shop Card. For details on how to set up these mappings, see Required Mapping in LS Central Configuration. |
Fulfillment or pickup updates are not sent to Shopify for C&C orders
What you see
A customer places a Click & Collect (C&C) order in Shopify. You process the order in LS Central, but the fulfillment or pickup status does not update in Shopify.
Why it happens
LS Central sends updates to Shopify only when all of these settings are in place. If one is missing, no update is sent.
| Setting | Where to find it | Required value |
|---|---|---|
| Send LS Commerce Messages | Customer Order Setup page, LS Commerce FastTab | Enabled or Selected |
| Post Fulfillments | Shopify Shop Card | Enabled or Selected |
How to fix it
- Open the Customer Order Setup page and make sure that Send LS Commerce Messages is selected on the LS Commerce FastTab.
- Open the Shopify Shop Card and make sure that Post Fulfillments is selected.
- Process the order again to send the update to Shopify.
You cannot enable Send LS Commerce Messages again
|
Note:Send LS Commerce Messages must be enabled on the Customer Order Setup page (LS Commerce FastTab) so that LS Central triggers the required order posting and fulfillment updates. This does not mean that you need a separate Commerce Service. The Commerce Service URI can remain empty. |
What you see
You disable Send LS Commerce Messages and later try to enable it again, but the system does not let you. An error can appear saying that a Service URI pointing to the legacy Commerce Service is still required. You do not have a legacy Commerce Service, so you cannot turn the option back on.
Why it happens
The check only requires that the Service URI field is filled in. You do not need a real legacy Commerce Service.
How to fix it
- In the Service URI field, enter a placeholder URL, for example:
http://localhost/CommerceService/BOJson.svc/
- Select the Send LS Commerce Messages check box.
- After the option is enabled, remove the placeholder URL from the Service URI field.
| Important: Send LS Commerce Messages must stay enabled. If it is turned off, LS Central does not receive any messages from Central. |
An error occurs when you select Send LS Commerce Messages
What you see
On the Customer Order Setup page, you select Send LS Commerce Messages and an error appears. The error says one of the following:
- The profile ID is missing.
- The profile was not found.
- Service URI has not been set in the POS functionality profile.
Why it happens
When you select the check box, LS Central checks the LS Commerce Func. Profile ID. The check fails if no profile is set, the profile does not exist, or the profile has no Service URI.
How to fix it
- On the Customer Order Setup page, set LS Commerce Func. Profile ID to a valid POS functionality profile.
- Open that profile and make sure that Service URI is not empty.
- Return to the Customer Order Setup page and select Send LS Commerce Messages again.
For more information, see LS Central Configuration.
The order is not marked as Fulfilled in Shopify after you post the Sales Order
What you see
You post the Sales Order, but the order is not marked as Fulfilled in Shopify. No error message is shown.
Why it happens
One of the following applies:
- The posted shipment has no shipping agent.
- Post Fulfillments is disabled on the Shopify Shop Card.
- The Shopify fulfillment order is no longer open. This can happen when Shopify fulfilled the order automatically.
How to fix it
- Open the Shipment Method Mapping page and make sure that the shipping method on the order is mapped to a shipping agent.
- Open the Shopify Shop Card and make sure that Post Fulfillments is selected.
- Check in Shopify whether the order was already fulfilled automatically. If it was, LS Central does not send a fulfillment, because the fulfillment order is no longer open.
- Check the Sales Order. After a successful post, it shows the Posted Invoice No. and the Processed check box is selected.
Diagnostic Steps
How to Review Synchronization Errors:
If synchronization fails:
- Open Job Queue Log Entries in Business Central. Locate the log entry related to Shopify synchronization and review the error message to identify the issue.
-
Open Web Service Setup and in the Logs FastTab, check Client Log On and set Server Log Level to All. When Business Central sends a request to Shopify, it will be logged in the Web Request Log which can be found on this page by clicking the Related - Web Service menu.
Communications to Shopify will have the Request ID starting with SHGQL-xxxx.
Each Log line has data being send to Shopify (View Request XML) and data coming from Shopify (View Response XML). This can be helpful when debugging what is going on and in many cases needed when sending in support request to LS Retail ehf.. Click on the View buttons and copy the data from the window into any editor that can format REST/Json data so its easier to read, and include it with the support ticket.