> ## Documentation Index
> Fetch the complete documentation index at: https://koreai-content-gov.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Error Codes

List of error codes returning, including their descriptions, actions, and required fields for resolution.

## Socket Errors

| Error Code | Message | Action | Required Fields |
| - | - | - | - |
| ERR\_WS\_INIT | Socket connection failed | show | token, conversationId |
| ERR\_WS\_INIT | Socket connection timeout | show | token, conversationId |
| ERR\_WS\_INIT | Socket disconnected | show | token, conversationId |
| ERR\_WS\_INIT | Socket reconnection failed | show | token, conversationId |
| ERR\_WS\_INIT | Socket error | show | token, conversationId |

## API Errors

| Error Code | Message | Action | Required Fields |
| - | - | - | - |
| ERR\_SETTINGS\_API\_FAILURE | Settings API failed | show | botId, channel |
| ERR\_CHECKLIST\_API\_FAILURE | Checklist API failed | show | botId |
| ERR\_ASST\_HISTORY\_API\_FAILURE | Assist history API failed | show | botId, conversationId |
| ERR\_MYBOT\_HISTORY\_API\_FAILURE | MyBot history API failed | show | botId, conversationId |
| ERR\_FEEDBACK\_API\_FAILURE | Feedback API failed | show | tab, conversationId |
| ERR\_SUMMARY\_LOAD\_FAILURE | Summary load failed | show | conversationId, botId, channel, sessionId |

## Validation Errors

| Error Code | Message | Action | Required Fields |
| - | - | - | - |
| ERR\_TOKEN\_INVALID | Invalid token | show | token, botId |
| ERR\_MISSING\_REQ\_FIELDS | Missing required fields to send user message | sendUserMessage | author, type, conversationId, value, botId |
| ERR\_MISSING\_REQ\_FIELDS | Missing required fields to send agent message | sendAgentMessage | author, type, conversationId, value, botId |

## Miscellaneous Errors

| Error Code | Message | Action | Required Fields |
| - | - | - | - |
| ERR\_JS\_CODE | JS code failed | show | None |
