Summary force:installed:list command is throwing time out error as Your query request was running for too long.

Steps To Reproduce: 1.ScratchOrg is created 2.Installed two packages with packageID onScratchORg 3.To display list of installed packages on the ScratchOrg, the list of installed packages with sfdx:force:installed:list -u "Orgname"

Expected result List of installed packages should be displayed

Actual result Showing error as 'Your query request was running for too long.'

Additional information This command was working until Oct 18th, 2020. I found the errors in the pipeline since Oct 19th in all SFDX pipeline scripts and occurring frequently.

SFDX CLI Version: 7.62.1

is there any change happened with latest Salesforce release?

  • I also noticed that, were you able to find any workaround? Oct 27, 2020 at 17:22
  • No, there is no polling mechanism can be added to verify this list as well. Do you know how to get run id of this command?
    – Vijaykumar
    Oct 28, 2020 at 7:53
  • No, I'm considering building the query using sfdx force:data:soql:query --usetoolingapi... Oct 28, 2020 at 11:46
  • did soql:query worked for installed packages list?
    – Vijaykumar
    Oct 30, 2020 at 8:41
  • Yep, but only if I break down into two queries, if you are interested I can publish a gist. Oct 31, 2020 at 9:55


Your Answer

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