Note: Salesforce Live Agent (Legacy Chat) was retired on February 14, 2026. This article is provided for reference for legacy implementations.
When using a Chat pre-chat form or deployment API to automatically create Cases, the Agent accepting the Chat must have permission to write to all of the configured fields, otherwise it will proceed without creating the Case.
Example pre-chat configuration:
<input type="hidden" name="liveagent.prechat.findorcreate.map:Case" value="Subject,CaseSubject;Status,CaseStatus;Origin,CaseOrigin" /> <input type="hidden" name="liveagent.prechat.findorcreate.map.doCreate:Case" value="Subject,true;Status,true;Origin,true" /> <input type="hidden" name="liveagent.prechat.findorcreate.showOnCreate:Case" value="true" /> <input type="hidden" name="liveagent.prechat.findorcreate.saveToTranscript:Case" value="CaseId" />
In the above example from a pre-chat Visualforce page, we are populating the automatically created Case with Subject, Status and Origin.
If the Agent answering the chat does not have write access to these fields, the Case will not get created.
The issue is caused by the answering Agent not having write access to the relevant fields.
Either:
See also:
Find and Create Records Automatically with the Pre-Chat APIs
Pre-Chat Form Code Sample
000381885

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.