Newer Version Available

This content describes an older version of this product. View Latest

Scratch Org Error Codes

If scratch org creation fails, the system generates an error code that can help you identify the cause.
Error Code Description
C-9998 Not a valid scratch org. Contact Salesforce Customer Support for assistance.
C-9999 Generic fatal error. Contact Salesforce Customer Support for assistance.
S-1017 Namespace isn’t registered. To use a namespace with a scratch org, you must link the Developer Edition org where the namespace is registered to a Dev Hub org. See Salesforce Help: Link a Namespace to a Dev Hub Org.
S-2006 Invalid country.