{"section":"known-issues","requestedLocale":"en","requestedSlug":"error-message-displayed-when-adding-or-removing-collections-in-promotions","locale":"en","slug":"error-message-displayed-when-adding-or-removing-collections-in-promotions","path":"docs/en/known-issues/Pricing & Promotions/error-message-displayed-when-adding-or-removing-collections-in-promotions.md","branch":"main","content":"## Summary\n\n\nWhen adding or removing collections in promotions, an error message is displayed in the UI: \"Erro - Can’t create search criteria!\" Despite the error message, the changes are saved successfully, and a \"Promoção salva com sucesso!\" message appears beneath the error. The problem is observed specifically when using the \"_Different from:\"_ selector with more than one collection listed. Notably, the error does not occur when saving a promotion with the _\"Different from:\"_ selector and only one collection listed.\n\n\n#### Simulation\n\n\n\n1. Access the promotions management area in the admin interface.\n2. Create or edit a promotion.\n3. Use the \"_Different from:\"_ selector to add more than one collection.\n4. Attempt to save the promotion.\n**Expected Behavior**: The promotion should save without error messages.\n**Observed Behavior**: An error message \"Erro - Can’t create search criteria!\" appears, but the promotion is saved successfully.\n5. Test the scenario with only one collection listed under the \"_Different from:\"_ selector.\n**Observed Behavior**: The error does not occur, and the promotion saves without issues.\n\n\n#### Workaround\n\n\nThe promotion is actually saved correctly despite the error message. Users can ignore the error message and validate that the changes were applied by reopening the promotion settings."}