https://discord.gg/botpress logo
#🌎general
Title
# 🌎general
p

plain-angle-49929

07/09/2023, 10:55 AM
Morning all , Anybody knows why buffer is not defined ? "Error executing action "inline-ins-f09b1151f0.js" in flow:Main:node:api [ReferenceError, Buffer is not defined]" Any ways around it ? Tried to import it , soon as I use buffer it throws this error, const headers = { 'Content-Type': 'application/json', Authorization: `Basic ${Buffer.from(
${username}:${password}
).toString('base64')}`, }
k

kind-florist-70018

11/07/2023, 9:06 PM
Im getting the same error trying to encode a string, did you find a solution?
3 Views