Problem when creating a shipping profile

Topic summary

Problem creating a shipping profile triggers errors related to product variants: “Variants to dissociate unexpected key variants_to_dissociate” and “Cannot disassociate variants when creating a profile.” This occurs when trying to save a profile that includes products/variants during initial setup, or when adding a variant from a product already assigned to another profile.

Context: “Variants” are product options (e.g., size/weight) that may require different shipping rates. Attempting to assign or move these variants at profile creation appears to cause the system to try to disassociate variants improperly.

Workaround (confirmed by multiple participants):

  • Create the shipping profile first without assigning any products/variants.
  • Add and configure shipping rates (including tiered rates if needed).
  • Save the profile.
  • Return to the profile and then add products/variants.

Outcome: No official fix or explanation provided, but the above workflow consistently avoids the error. Discussion suggests the issue occurs when trying to “do everything at once,” and remains unresolved by the platform, with a reliable community workaround in place.

Summarized with AI on January 21. AI used: gpt-5.

HI !

I tried to create a shipping profile for one specific country and when I wanted to save, this is the error message that I got :

Variants to dissociate unexpected key variants_to_dissociate

What does that meant ?

Thanks !

1 Like

I’ve got the same problem:

Variants to dissociate unexpected key variants_to_dissociate

This is the only thread related to this problem I’ve found in this community or on Google, it would be great if there was an answer.

Hey Did you figure it out? I’m having the same problem

Not sure if you found a solution, but I got a similar message “Cannot disassociate variants when creating a profile”. I have products by group and variants in each product. Some variants are heavier than others and I need different shipping rates. So I set up tiered rates and just added individual variants to them. When I tried to add a variant from a group I had already assigned a profile to I got this message. What seemed to work for me was to set up all the profiles without adding variants and just save them with no products assigned. I then went back through and added variants and it seemed to solve this problem. It seems that adding product while setting up each profile doesn’t work if you have a variant. Which is just plain weird.

I just got this same error. I resolved it by creating the profile and adding the rates, then saving before adding the products. I guess Shopify doesn’t like it when you try to do everything at once.

1 Like

I haven’t gotten any error just yet, so forgive me If I do, but the fix was as mentioned by Huntoon22.

Just add the rates first, save the profile, and then add the products.

Good luck!