Skip to main content

Hi Community,

I'm working on Salesforce DX using VS Code and trying to create a new scratch org, but I’m running into this error:

ERROR running force:org:create:  getaddrinfo ENOTFOUND can8s.salesforce.com
sfdx force:org:list

Queried ScratchOrgInfo and found 3 scratch org records with Status='Active', for example:

 

2SRgK00000088YHWAY  test-rmit9jbex7yt@example.com  2025-08-02

Tried to delete them using:

 

sfdx force:org:delete -u test-rmit9jbex7yt@example.com -p

But I got this error:

 

ERROR running force:org:delete: No authorization information found for username test-rmit9jbex7yt@example.com.

I believe these scratch orgs are counted against my active limit, but I cannot delete them because they are not authorized in my local org list.

 My Questions

  1. How can I delete or remove these “ghost” scratch orgs that show up in the ScratchOrgInfo table but not in sfdx force:org:list?
  2. Why am I getting the ENOTFOUND can8s.salesforce.com error—could it be related to DNS, proxy, or something else?
  3. Any way to completely reset scratch org usage or clear the limits?

Any guidance would be greatly appreciated!

Thanks in advance, 

 

Vedanti Surani

 

@* Salesforce Developers *

 

 

#Salesforce Developer

1 respuesta