Unable to Retrieve Muting Permission Set in Source format Project

Issue #1788 resolved
James Melville created an issue

I am unable to retrieve a Muting Permission Set when working within a Source Format project, seeing the following error:

Retrieve Failed Failed to retrieve metadata. Status: FAILED Message: UnsupportedType The specified metadata type is unsupported: [MutingPermissionSet]

This seems to be an issue with SFDX, with similar issues reported here https://github.com/forcedotcom/cli/issues/339. I guess a mapping from mdapi format to source format hasn’t been defined for MutingPermissionSet yet.

This is the error from SFDX.

{
  "status": 1.0,
  "name": "UnsupportedType",
  "message": "The specified metadata type is unsupported: [MutingPermissionSet]",
  "exitCode": 1.0,
  "commandName": "SourceRetrieveCommand",
  "stack": "UnsupportedType: The specified metadata type is unsupported: [MutingPermissionSet]\n    at Function.create (C:\\Users\\james\\AppData\\Local\\sfdx\\node_modules\\salesforce-alm\\node_modules\\@salesforce\\core\\lib\\sfdxError.js:160:16)\n    at C:\\Users\\james\\AppData\\Local\\sfdx\\node_modules\\salesforce-alm\\dist\\lib\\source\\sourceElementsResolver.js:46:40\n    at Array.forEach (\u003canonymous\u003e)\n    at SourceElementsResolver.parseTypeNamePairs (C:\\Users\\james\\AppData\\Local\\sfdx\\node_modules\\salesforce-alm\\dist\\lib\\source\\sourceElementsResolver.js:42:23)\n    at SourceElementsResolver.getSourceElementsFromManifest (C:\\Users\\james\\AppData\\Local\\sfdx\\node_modules\\salesforce-alm\\dist\\lib\\source\\sourceElementsResolver.js:32:21)\n    at async SourceRetrieve.retrieveFromManifest (C:\\Users\\james\\AppData\\Local\\sfdx\\node_modules\\salesforce-alm\\dist\\lib\\source\\sourceRetrieve.js:97:43)\n    at async SourceRetrieve.retrieve (C:\\Users\\james\\AppData\\Local\\sfdx\\node_modules\\salesforce-alm\\dist\\lib\\source\\sourceRetrieve.js:57:27)\n    at async SourceRetrieveCommand.execute (C:\\Users\\james\\AppData\\Local\\sfdx\\node_modules\\salesforce-alm\\dist\\lib\\source\\sourceRetrieveCommand.js:32:16)\n    at async SourceRetrieveCommand.execLegacyCommand (C:\\Users\\james\\AppData\\Local\\sfdx\\node_modules\\salesforce-alm\\dist\\ToolbeltCommand.js:149:29)\n    at async SourceRetrieveCommand.run (C:\\Users\\james\\AppData\\Local\\sfdx\\node_modules\\salesforce-alm\\dist\\commands\\force\\source\\retrieve.js:32:16)\n    at async SourceRetrieveCommand._run (C:\\Users\\james\\AppData\\Local\\sfdx\\node_modules\\salesforce-alm\\node_modules\\@salesforce\\command\\lib\\sfdxCommand.js:93:40)\n    at async Config.runCommand (C:\\Users\\james\\AppData\\Local\\sfdx\\client\\7.82.0-3d0c527ac6\\node_modules\\@oclif\\config\\lib\\config.js:173:24)\n    at async Main.run (C:\\Users\\james\\AppData\\Local\\sfdx\\client\\7.82.0-3d0c527ac6\\node_modules\\@oclif\\command\\lib\\main.js:27:9)\n    at async Main._run (C:\\Users\\james\\AppData\\Local\\sfdx\\client\\7.82.0-3d0c527ac6\\node_modules\\@oclif\\command\\lib\\command.js:43:20)\n    at async Object.run (C:\\Users\\james\\AppData\\Local\\sfdx\\client\\7.82.0-3d0c527ac6\\dist\\cli.js:32:20)",
  "warnings": []
}

Windows 10 x64 / Webstorm 2020.3 / IC2.1.5.3

Comments (1)

  1. Scott Wells repo owner

    I'm going to resolve this as I just saw a response on the GitHub issue that there should be a fix in the next CLI release. If it doesn't materialize after all, feel free to reopen this.

  2. Log in to comment