Hello! I am trying to make an Apple Shortcut and am trying to get the userID by https://users.roblox.com/v1/usernames/users but it is not working. I feel like I put everything right but it doesn’t want to. I only get to the point of empty data. Here is the code:
Tell me if there’s anything wrong.
The “usernames” field in the request body is an array, not text.
They are trying to get the user ID from the username, not the username from the user id.
2 Likes
coo1ifyy
(coo1ifyy)
March 19, 2024, 6:25pm
#4
Everything is right, but the username is suppose to be an array of usernames and not just a string.
(i accidentally put an userid as the input, but i did test with a username and it still works)
1 Like
According to the docs, it’s supposed to be an array of usernames, not userIds.
coo1ifyy
(coo1ifyy)
March 19, 2024, 6:35pm
#6
My bad, I am getting them mixed up.
1 Like
Oh, thank you! I just changed the “Type” into an array and it worked!
1 Like
system
(system)
Closed
April 2, 2024, 8:48pm
#8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.