Closed ZackaryH8 closed 2 years ago
I get the same error, and I think this happens when the user's profile is private.
@vanitasboi is correct, you can handle this with a catch block
steam.getUserStats('76561197989862681', '730').then((data) => {
console.log(data);
}).catch((reason) => {
console.log("User's data is private")
})
I receive this error specifically when I try and use
getUserStats
method. The others seem to work fine.Code
Error