When I try searching and I type the name of the friend it gives back an error response like:
{
"code": 400,
"status": "BadRequest",
"error": "AccountNotFound",
"errorCode": 1001,
"errorMessage": "User not found",
"CallBackTimeMS": 403
}
I tried it both on unity but also on the web Sample Request.
https://api.playfab.com/documentation/Client/method/AddFriend.
On the other hand, if I go to friend page, COPY AND PASTE the name of the friend it works as expected.
I tried also printing the name of the friend "iPad58"from the Cloud Script and I get this:
iPad58\M-b\M^@\M^Z\M-C\M^D\M-C\M-#
Everything works when I with scripting too (both with userId and DisplayName). The issue raises just when I send a AddFriendRequest and type the Display Name.