+ Start a Discussion
Arthur Almeida 12Arthur Almeida 12 

how to deploy chat button type omni-channel using SFDX

I am trying to deploy my chat button with routing type omni-channel using SFDX and this error occurred:

You must select at least one skill.

what do I need to make?
Best Answer chosen by Arthur Almeida 12
VinayVinay (Salesforce Developers) 
Hi Arthur,

Chats routed with Omni-Channel aren’t supported in the Metadata API. Workaround is to change the route type from Omni-Channel to Choice with a skill and manually change it back after deployment.

https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_livechatbutton.htm

Check similar issue below.
https://developer.salesforce.com/forums/?id=9062I000000g9HUQAY

Also review limitation below and vote for this feature.

https://ideas.salesforce.com/s/idea/a0B8W00000GdWodUAF/make-omnichannel-settings-deployable

Please mark as Best Answer if above information was helpful.

Thanks,