What you’ll see
Salesforce returned an error: sObject type 'Invoic__c' is not supported. …
Why it happens
The template refers to a Salesforce object that Salesforce can't find for your user. Usually one of these:
- the object name is misspelled or isn't its API name
- a custom object is missing its
__cending, or a managed-package object is missing its prefix - the template was built in a different org (such as a sandbox) where the object exists
- your user doesn't have permission to read the object
How to fix it
- Check the object's API name in Setup → Object Manager and correct the template.
- If the template came from another org, make sure the object has been deployed to this org. See Migrate document solutions from sandbox to production.
- Ask your administrator to check that your profile or permission set can read the object. See Give users access.
Who can fix it
- A Salesforce admin (or whoever builds the template): corrects the object name, deploys the missing object, or gives your profile or permission set read access to it.
- Docs Made Easy support: if the object exists in this org, you can read it, and the message still appears.
What to send support
- the Error code and Reference from the message (copy the whole message if you can)
- the full text after "Salesforce returned an error:", including the object name
- the template name and the solution name or ID
- whether the template or solution was migrated from another org
- your Salesforce Org ID (How to share your Org ID)
- the time it happened, with your time zone