A message indicating that no suitable match was found during the configured time

View interactive version here

Request Parameters

Parameter Required Type Description
matchData No JSON The arbitrary data that is stored on a pendingMatch in the matchData field.
matchGroup No string The group the player was assigned in the matchmaking request
matchShortCode No string The shortCode of the match type this message for
messageId No string A unique identifier for this message.
notification No boolean Flag indicating whether this message could be sent as a push notification or not.
participantData No JSON A JSON Map of any data that was associated to this user
participants No Participant[] The participants in this match
scriptData No ScriptData[] ScriptData is arbitrary data that can be stored in a message by a Cloud Code script.
subTitle No string A textual title for the message.
summary No string A textual summary describing the message's purpose.
title No string A textual title for the message.

Nested types


A nested object that represents a participant in a match.

Parameter Type Description
achievements string[] The achievements of the Player
displayName string The display name of the Player
externalIds JSON The external Id's of the Player
id string The Id of the Player
online boolean The online status of the Player
participantData JSON A JSON Map of any data that was associated to this user
peerId number The peerId of this participant within the match
scriptData JSON The script data of the Player
virtualGoods string[] The virtual goods of the Player


A collection of arbitrary data that can be added to a message via a Cloud Code script.

Parameter Type Description
myKey string An arbitrary data key
myValue JSON An arbitrary data value.

Code Samples


    MatchNotFoundMessage.Listener = (message) => {
    GSData matchData = message.MatchData; 
    string matchGroup = message.MatchGroup; 
    string matchShortCode = message.MatchShortCode; 
    string messageId = message.MessageId; 
    bool? notification = message.Notification; 
    GSData participantData = message.ParticipantData; 
    GSEnumerable<var> participants = message.Participants; 
    GSEnumerable<GSData> scriptData = message.ScriptData; 
    string subTitle = message.SubTitle; 
    string summary = message.Summary; 
    string title = message.Title; 

ActionScript 3

        function (message:MatchNotFoundMessage):void {
        var matchData:Object = message.getMatchData(); 
        var matchGroup:String = message.getMatchGroup(); 
        var matchShortCode:String = message.getMatchShortCode(); 
        var messageId:String = message.getMessageId(); 
        var notification:Boolean = message.getNotification(); 
        var participantData:Object = message.getParticipantData(); 
        var participants:Vector.<Participant> = message.getParticipants(); 
        var scriptData:Vector.<ScriptData> = message.getScriptData(); 
        var subTitle:String = message.getSubTitle(); 
        var summary:String = message.getSummary(); 
        var title:String = message.getTitle(); 


    [listener onGSMatchNotFoundMessage:^(GSMatchNotFoundMessage* message) {
    NSDictionary* matchData = [message getMatchData]; 
    NSString* matchGroup = [message getMatchGroup]; 
    NSString* matchShortCode = [message getMatchShortCode]; 
    NSString* messageId = [message getMessageId]; 
    BOOL notification = [message getNotification]; 
    NSDictionary* participantData = [message getParticipantData]; 
    NSArray* participants = [message getParticipants]; 
    NSArray* scriptData = [message getScriptData]; 
    NSString* subTitle = [message getSubTitle]; 
    NSString* summary = [message getSummary]; 
    NSString* title = [message getTitle]; 


        new GSEventConsumer<MatchNotFoundMessage>() {
            public void onEvent(MatchNotFoundMessage event) {
        GSData matchData = message.getMatchData(); 
        String matchGroup = message.getMatchGroup(); 
        String matchShortCode = message.getMatchShortCode(); 
        String messageId = message.getMessageId(); 
        Boolean notification = message.getNotification(); 
        GSData participantData = message.getParticipantData(); 
        List<Participant> participants = message.getParticipants(); 
        List<GSData> scriptData = message.getScriptData(); 
        String subTitle = message.getSubTitle(); 
        String summary = message.getSummary(); 
        String title = message.getTitle(); 


    using namespace GameSparks::Core;
    using namespace GameSparks::Api::Messages;
    void OnMatchNotFoundMessage(GS& gsInstance, const MatchNotFoundMessage& message)
    GSData matchData = message.getMatchData(); 
    gsstl::string matchGroup = message.getMatchGroup(); 
    gsstl::string matchShortCode = message.getMatchShortCode(); 
    gsstl::string messageId = message.getMessageId(); 
    Optional::t_BoolOptional notification = message.getNotification(); 
    GSData participantData = message.getParticipantData(); 
    gsstl:vector<Types::Participant*> participants = message.getParticipants(); 
    gsstl:vector<GSData> scriptData = message.getScriptData(); 
    gsstl::string subTitle = message.getSubTitle(); 
    gsstl::string summary = message.getSummary(); 
    gsstl::string title = message.getTitle(); 
Did this page help you? Please enter your feedback below. For questions about using this part of the platform, please contact support here