When can a player send new friend requests after hitting the pending limit?

Hello,

We’re using the Friends service (version 1.1.0) in our game and have run into a situation where a player cannot send further friend requests after sending 10 outgoing requests (which are still pending). The documentation states:

  • “The maximum number of pending friend requests (both incoming AND outgoing) is 10.” Unity Documentation

What we would like to know:

  1. Does the “pending friend requests” cap reset only when some of the outgoing requests are accepted, declined, or cancelled — or does the cap also automatically reset after a certain time (e.g., after the request expires)?
  2. If the request expires, does that free up a slot in the pending request count, allowing new requests?
  3. Is there any “cool-down” period after hitting the cap before you can send more requests (for example, X hours/days)?
  4. Are there any project-level or account-level overrides for this limit, or is it fixed?
  5. If the cap is reached, is there an error code returned from the API (e.g., a specific HTTP error or reason string) so we can handle it gracefully on the client side?

Thank You.

Hello,

Hey!

  1. Only outgoing has a cap, to prevent spamming. Incoming would not have a cap.
  2. Once a sent request is cancelled or accepted it will update and you will no longer at limit.
  3. There is no cool down period.
  4. Currently there isn’t a way to override this limit.
  5. The error code you will receive when at limit is: 409 conflict.

Hope that helps! :slight_smile:
If you still have questions don’t hesitate to ask.