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.
Property | Type | Description |
---|---|---|
defaultAgentNotConfigured | case | The default agent for the organization has not been configured in Salesforce |
featureDisabled | case | Feature is disabled |
invalidConversation | case | The provided AgentConversation instance is invalid or was not created by this AgentforceClient |
missingSessionOrViewModel | case | Internal state error where required session or view model components are missing |
noActiveSession | case | No active conversation session available for transcript generation |
transcriptGenerationFailed | case | Server-side transcript generation failed |
unableToStartASession | case | Failed to establish a session with the Agentforce service |