Skip to content

Fix customers or products that won't sync

Steps for

SparkLayer keeps a copy of your products, and of customers tagged b2b, from your store. A product or customer that doesn't sync can't get B2B prices. The fix is almost always in your store: a missing SKU, a draft product or an incomplete address. See How sync works.

Before you start

  • The product's SKU, or the customer's email, for anything you know is missing.
  • Access to edit products and customers in your store admin.

Fix products

Look up the missing product

In the search box on Products, search by name, SKU, barcode or ID. If it isn't in the results, SparkLayer doesn't have it. See Look up a product's data.

If the alert reads Products sync completed with 3 errors, for example, the rest of your products still sync, but click Show errors and fix them:

Error messageFix
Please check the variants have a valid/existing SKU assignedThe product, or one of its variants, has no SKU. Add one in the product's Inventory section. SparkLayer only imports products with a SKU on every variant.
Please ensure the variant slug is unique or Please ensure the variant SKU is uniqueSearch your store for the SKU and rename any duplicate. This applies across separate products too, such as a retail and a wholesale copy of an item: a product with one variant still has a variant SKU. If you recently deleted the product and added it again, or moved the SKU from another product, SparkLayer may still have the old record: contact support and we'll remove it.
Metafield(s) configurations appear to be invalid (rrp)The variant's rrp field must hold a price and currency, such as [{"value":15.99,"currency_code":"usd"}], not just a number. See Show RRP.
500 Server Error: "The server encountered an error and could not complete your request"A temporary problem on our side, not in your product data. Wait a few minutes. If it's still there, contact support: a full sync clears it.
Internal Error - this has been raised with our developersA general error, for a problem SparkLayer doesn't have a message for. Save the product again in your store to send it to SparkLayer, then check it again. If the error stays, contact support with the product's ID.

Fix the product in your store

Shopify only

In your Shopify admin, check the product:

  • Has a unique SKU on every variant, in the Inventory section
  • Is Active, not Draft
  • Is included in the SparkLayer Wholesale sales channel

See "Do my products need SKUs?" in Shopify FAQs.

BigCommerce, Wix, WooCommerce, Magento only

In your platform's admin, check the product has a unique SKU on every variant and is active. See your platform's guide in Platforms.

Then save the product again, for example by making a small change and changing it back. On Shopify, SparkLayer syncs it straight away. If the error is still there, see when to ask us for a full product sync.

Fix customers

Fix each customer in your store

Shopify only

Click a customer's name in the error list to open them in Shopify, and fix each record:

Error messageFix
Address - The country assigned is invalid, Address - city is missing and is a required field or Address - address first line is missing and is a required fieldAdd the missing country, city or first line. This applies to every address in the customer's address book, including second and older addresses: an incomplete second address causes an error even when the default is complete. Complete it or delete it.
The customer must have a first name or The customer must have a last nameAdd the customer's first and last name.
This customer's group doesn't match a customer group in SparkLayer.The customer has a tag, such as b2b-tier-1, that doesn't match any group at Companies,Customer groups (opens in your SparkLayer Dashboard in a new tab), for example because the group was deleted. Fix the tag, or create the group.
Address doesn't sync, with no errorCheck the address for unusual characters, such as a long dash (―), in the first line, and replace them with plain text.
Not in the list at allAdd the b2b tag. Only customers tagged b2b sync.

If a customer still won't sync, check whether their email address changed recently. It shouldn't cause problems, but it sometimes affects syncing.

Customers with a sales rep groups metafield

The sales rep groups metafield (sparklayer.sales_agent_groups) decides which sales reps can see a customer. If customers with it don't sync, check the metafield's definition in Settings,Metafields and metaobjects (opens in your Shopify admin in a new tab) is set to Limit to preset choices. See Set up the sales rep groups metafield.

BigCommerce, Wix, WooCommerce, Magento only

Fix each customer in your platform's admin. Check they're marked as B2B for your platform and have a complete address. On Wix, they must also be a Site Member. See Assign customers to a customer group.

Check the customer synced

On Shopify, a fixed customer syncs as soon as you save them. You don't need to start a sync yourself. If a customer still hasn't synced after you've fixed them, contact support.

Check it worked

If something's not right

Next steps

Was this page helpful?

Last updated