sentanos / roblox-js

!!!THIS PROJECT IS NO LONGER MAINTAINED!!! Execute ROBLOX website actions in node.js
MIT License
45 stars 45 forks source link

Join Request Handling Functions return permissions error #43

Closed unix-system closed 7 years ago

unix-system commented 7 years ago

Exact error: Error: Invalid permissions, make sure the user is in the group and is allowed to handle join requests at path\node_modules\roblox-js\lib\util\handleJoinRequestId.js:29:13 at tryCatcher (path\node_modules\bluebird\js\release\util.js:16:23)

I know for a fact that sending PMs, promotion, and all other functions I have tried so far relating to groups and the account (which is ranked in the target group with join request roles, as I am able to get pending join requests) has no permissions error.

Perhaps an API change?

sentanos commented 7 years ago

I just tested this right before and it is definitely working fine. Please show how you exactly you are using the function.

unix-system commented 7 years ago

rbx.handleJoinRequest(1180892,username,true).then(function(promiseData) { // Sort of secret code occurring here. }).catch(function(err) { console.error(err.stack); });

That is my exact code. Again, the account is logged in properly and has full permissions.

sentanos commented 7 years ago

I simply cannot replicate the error. Please contact me on discord to continue this discussion: Froast#5132

sentanos commented 7 years ago

Please confirm whether or not version 4.0.1 fixes this.