AgentforceSDKError

Errors that can be thrown by the Agentforce SDK during initialization, conversation management, and UI creation. These errors provide specific context about what went wrong and guide developers toward resolution. Handle these errors gracefully in your application to provide a better user experience.

PropertyTypeDescription
defaultAgentNotConfiguredcaseThe default agent for the organization has not been configured in Salesforce
featureDisabledcaseFeature is disabled
invalidConversationcaseThe provided AgentConversation instance is invalid or was not created by this AgentforceClient
missingSessionOrViewModelcaseInternal state error where required session or view model components are missing
noActiveSessioncaseNo active conversation session available for transcript generation
transcriptGenerationFailedcaseServer-side transcript generation failed
unableToStartASessioncaseFailed to establish a session with the Agentforce service