Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Matchmaker V2 requests restrinction/limitations

Discussion in 'Matchmaker' started by unity_663788D9F743525C3B7B, Jun 21, 2023.

  1. unity_663788D9F743525C3B7B

    unity_663788D9F743525C3B7B

    Joined:
    Jun 1, 2023
    Posts:
    1
    Hello, I work with matchmaker API V2, I have service which regularly gets new token by this endpoint: "https://services.api.unity.com/auth/v1/token-exchange". I noticed that there is some limitations, because sometime MatchmakerApi service start responding with such message:

    Code (JavaScript):
    1. <html><head>
    2. <meta http-equiv="content-type" content="text/html;charset=utf-8">
    3. <title>403 Forbidden</title>
    4. </head>
    5. <body text=#000000 bgcolor=#ffffff>
    6. <h1>Error: Forbidden</h1>
    7. <h2>Your client does not have permission to get URL <code>/</code> from this server.</h2>
    8. <h2></h2>
    9. </body></html>
    Could you please describe, how often it's possible to send requests, which limitations do you have?
    Also, does it possible to add our node Ip address in some whitelist to not be blocked?
     
  2. mathieu_mm_unity

    mathieu_mm_unity

    Unity Technologies

    Joined:
    Dec 19, 2022
    Posts:
    6
    Hello

    Our current IP rate limiting for service account on matchmaker API V2 is 6600 calls per second for writes and 66000 calls per second for reads.
    However the error code would be 429 not 403 so I doubt that the issue is this rate limiting.

    If you can give me more info about the request you're making, when did you saw those errors. Or even better, the request-id if present in the response header, I should be able to give you more details.