HTTP 400 · Bad Request
GROUPCALL_INVALID
The specified group call is invalid.
HTTP 400
Calls / Voice / Video
When & why it happens
The supplied groupcall is malformed, points to nothing the server recognises, or fails a server-side validity check.
Handling in gogram
Surfaced as *gogram.ErrResponseCode. Match on the message:
if err, ok := err.(*gogram.ErrResponseCode); ok {
if err.Message == "GROUPCALL_INVALID" {
// handle this error
}
}
Related errors
CALL_ALREADY_ACCEPTEDThe call was already accepted.CALL_ALREADY_DECLINEDThe call was already declined.CALL_OCCUPY_FAILEDThe call failed because the user is already making another call.CALL_PEER_INVALIDThe provided call peer object is invalid.CALL_PROTOCOL_COMPAT_LAYER_INVALIDThe other side of the call does not support any of the VoIP protocols supported by the local client.CALL_PROTOCOL_FLAGS_INVALIDCall protocol flags invalid.GROUPCALL_ADD_PARTICIPANTS_FAILEDFailed to add participants to the group call.GROUPCALL_ALREADY_DISCARDEDThe group call was already discarded.GROUPCALL_ALREADY_STARTEDThe groupcall has already started, you can join directly.GROUPCALL_JOIN_MISSINGYou haven't joined this group call.GROUPCALL_NOT_MODIFIEDGroup call settings weren't modified.GROUPCALL_SSRC_DUPLICATE_MUCHThe app needs to retry joining the group call with a new SSRC value.