I’m using this work flow:
New Row Added (Shared Drive, Instant) with the Google Sheets API
(my Google sheet has discord usernames)
=> Assign the “Wallet Access” role for that discord username
but I keep getting error. can someone help? I’ve confirmed my bot has the Manage roles permission too.
Error
Request failed with status code 400
DETAILS
at null.createError (/tmp/__pdg__/dist/code/af93e0cc293605be640870f910aa9852e0b8b9d4239d5226065107e37ed5655f/node_modules/.pnpm/axios@0.19.2/node_modules/axios/lib/core/createError.js:16:15)
at null.settle (/tmp/__pdg__/dist/code/af93e0cc293605be640870f910aa9852e0b8b9d4239d5226065107e37ed5655f/node_modules/.pnpm/axios@0.19.2/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/tmp/__pdg__/dist/code/af93e0cc293605be640870f910aa9852e0b8b9d4239d5226065107e37ed5655f/node_modules/.pnpm/axios@0.19.2/node_modules/axios/lib/adapters/http.js:236:11)
at IncomingMessage.emit (events.js:412:35)
at null.endReadableNT (internal/streams/readable.js:1333:12)
at process.processTicksAndRejections (internal/process/task_queues.js:82:21)
ExportsInputsLogsDetails
Timestamp | 7/4/2022, 10:01:13 AM |
---|---|
Duration | 250ms |
Name | Add Role |
Description | Assign a role to a user. Remember that your bot requires the MANAGE_ROLES permission. See the docs here
|
Version | 0.0.1 |
Source | https://github.com/PipedreamHQ/pipedream/tree/master/components/discord_bot/actions/add-role/add-role.mjs |