I'm learning Apex SDK for Slack and I'm trying to setup the SFDK project. I'm following the documentation (https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/guide/run-sfdx.html), but running into an error regarding the SLACK feature in the config/project-scratch-def.json file. I've tried to create a scratch org, but received the following error - ERROR running force:org:create: SLACK is not a valid Features value. Does anyone know how to solve this issue? Thanks :)

  • 1
    As per the doc, this is a pilot feature. Is this feature enabled for your org?
    – Shamina
    Jul 24, 2022 at 19:00
  • Quoting what Shamina references, "This feature is not generally available and is being piloted with certain Customers subject to additional terms and conditions". Have you joined the pilot?
    – Keith C
    Jul 25, 2022 at 8:43
  • 1
    I had to enable two permission and then it worked for me! Thanks for your help
    – Hila
    Jul 26, 2022 at 10:30


Your Answer

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

Browse other questions tagged or ask your own question.