0

While deploying queues from vs code using sfdx cli, I'm getting below error:

ERROR running force:source:deploy:  The specified metadata type is unsupported: [queues]

It seems it's not supported.

  • Where is your metadata coming from ? The expected metadata api name is Queue, not queues. – Fabien Taillon Apr 22 at 19:56
  • Likewise, this contains good info for supported metadata types with regards to various situations. Queue seems to be supported for source tracking and metadata API so I would expect it to work. – Kris Goncalves Apr 22 at 20:00
1

Yes, queues are supported.

sfdx force:source:deploy -p force-app/main/default/queues

The expected file name format is:

Default.queue-meta.xml

And the expected contents should look like:

<?xml version="1.0" encoding="UTF-8"?>
<Queue xmlns="http://soap.sforce.com/2006/04/metadata">
    <doesSendEmailToMembers>false</doesSendEmailToMembers>
    <name>Default</name>
    <queueSobject>
        <sobjectType>Case</sobjectType>
    </queueSobject>
</Queue>

You'll want to refer to the Metadata API documentation for details.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.