affenity/bloxy

Getting "404, not found", when doing group.payout()

LeeviHalme opened this issue · 3 comments

Error thrown:

Error while withdrawing: Error: Failed to payout. Status code: 404, status message: Not Found
    at RobloxGroup.exports.run (path\to\node_modules\bloxy\src\group\methods\payout.js:32:41)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Method used:

const memberObj = {
    userId: 123456
    amount: 123
}

await group.payout({
    members: [memberObj],
    recurring: false,
    usePercentage: false
});

There is a newer api for pay. I might make a pr. https://groups.roblox.com/v1/groups/{groupid}/payouts

That’s v1..

Thanks for reporting this issue, with the new version of bloxy (v4 alpha), this bug should be fixed.
Thanks for reporting this in the first place, and my apologies for spending too long addressing this issue.