Skip to main content
SEAError is the code of the failure callback SEAFailedBlock, and also the type of errCode in callbacks such as onError and onImDisconnected. 0 (SEAErrorOK) means success; anything non-zero is an error.
The values on this page apply since 2.2.0. Since 2.2.0, the meeting layer’s own errors use the 203 range, and the RTC layer error codes passed through were renumbered along with RTCEngineKit 3.2.0. For the mapping between old codes (2.1.0 and earlier) and new ones, see the Changelog. For the numbering rules shared by all platforms, see Error code format and unified table.

Value rules

  • Branch on code only. Don’t branch on message, and don’t show message directly to end users; map code to your own user-facing prompts
  • The meeting layer and the RTC layer have two separate low-3-digit tables: 203004 (unauthorized) and 103004 (invalid token) mean different things, so compare the full 6-digit code
  • The pre-call network check networkCheck:onItem:completion: (since 2.3.0) passes through RTC layer codes: SEAErrorConflict (103005) when a check is already running, SEAErrorInvalidArgs (103031) for invalid parameters or an undecodable token, and SEAErrorUserCancelled (103026) when cancelled. Only when not logged in and no parameters are passed does it return the meeting-layer SEAErrorMeetingNotLoggedIn (203001)
  • language only affects the Accept-Language sent with meeting-layer requests to the backend, i.e. the language of backend business code messages; see MeetingKit.language. Since 2.2.1, it also applies to the RTC layer, so the message of backend business codes passed through from the RTC layer is also the server-side message

SEAError

Meeting-layer client error codes

SEAErrorNotAuthorized and SEAErrorMediaNotInitialized are deprecated and have the same values as SEAErrorMeetingUnauthorized and SEAErrorNotInitialized respectively. Writing a pair of same-value constants in a switch causes a duplicate case error; referencing a deprecated constant produces a deprecation warning, and projects with -Werror enabled fail to compile, so use the new names.

RTC layer error codes passed through

Values are the same as RTCEngineError in RTCEngineKit; see SRTC iOS error codes. Values in parentheses are the old values in 2.1.0 and earlier.

Backend business codes

Returned by the backend and passed through by the SDK as is; message is the msg returned by the backend, in the language set by language. For the complete list and meanings, see Server API error codes.
Since 2.2.0, the SDK no longer produces codes such as SEAErrorApiTokenDisabled (10042) or SEAErrorApiRepeatFound (10003) to indicate local errors; these constants appear only when the backend actually returns those codes.