When using a GET request on certain Roblox users’ profiles, the web API gives an error:
{"errors":[{"code":1,"message":"The target user is invalid or does not exist.","userFacingMessage":"Something went wrong."}]}
For example, when accessing https://friends.roblox.com/v1/users/2532471179/friends, this error occurs. This does not happen very often. The user I am sending a GET request to does not have be blocked.
I am using a Windows 10 machine running the latest version of Chrome (User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36).
Furthermore, when testing on another browser (Microsoft’s Edge), the same error appears. Changing IP address did not resolve this problem either. Using the Roblox documentation page (https://create.roblox.com/docs/cloud/reference/domains/friends#friends_get_v1_users__userId__friends) gives the same error when using UserId 2532471179 with any user sort type.
because as a developer, having connections and mutuals is the best way to meet new people and it doesn’t help that no one can see who my mutuals are. people are more likely to accept friend requests if they see mutuals or they see you have notable people added
example: roblox tells me who this user is friends with
Hi!
Thanks for the information. You are probably correct in your assumption.
/r Why does Roblox always have to be so vague? The error message makes it appear like the user does not even exist.
Here’s the funny part about this, the friend count API still goes through! As per usual, Roblox being inconsistent.
Great observation skills! Though, as I said, Roblox is “being inconsistent.” Roblox should limit all API requests for accounts that are restricted – just to be consistent.