Search Unity

Resolved Player name management - Rate Limit

Discussion in 'Authentication' started by MidnightGameDeveloper, Apr 11, 2023.

  1. MidnightGameDeveloper

    MidnightGameDeveloper

    Joined:
    Apr 26, 2014
    Posts:
    123
    I am currently testing the player name management BETA. When I change the player name two times in a short period of time I get a RequestFailedException (HTTP/1.1 429 Too Many Requests).
    Is there yet any information about how high the rate limit is exactly?
     
    Last edited: Apr 11, 2023
  2. chengg_unity

    chengg_unity

    Unity Technologies

    Joined:
    May 15, 2022
    Posts:
    69
    Hey @MidnightGameDeveloper
    The current rate limit for GET is 6 / minutes and 3 for Set. Please let us know if you continue to face the rate limit error.
     
  3. MidnightGameDeveloper

    MidnightGameDeveloper

    Joined:
    Apr 26, 2014
    Posts:
    123
    Thanks
     
  4. MiTschMR

    MiTschMR

    Joined:
    Aug 28, 2018
    Posts:
    489
    Hi @chengg_unity

    Is there any documentation about other rate limits enforced in the authentication SDK (not the API)? Will the docs get updated with this information?
     
    KevinCastejon likes this.
  5. MiTschMR

    MiTschMR

    Joined:
    Aug 28, 2018
    Posts:
    489
    Bump, I would like to know more about the rate limits enforced and where they are documented.
     
  6. erickb_unity

    erickb_unity

    Unity Technologies

    Joined:
    Sep 1, 2021
    Posts:
    92
    Hi

    Only the apis enforce rate limits, the SDK does not enforce any limiting

    The rate limits for player names don't seem to be documented at the moment.

    The limit for players is set to 3 per 60 seconds per endpoint and apply to both getting and setting a name.
    The limits for multiplay, service account and cloud code are much higher.

    Player Name SDK Documentation: https://docs.unity.com/ugs/en-us/manual/authentication/manual/player-name-management
    Player Name Api Documentation: https://services.docs.unity.com/player-names/v1/