Hey @Chavas
Can you try this out - Node.js throws "btoa is not defined" error - Stack Overflow. Basically, btoa
is not supported in node > v4. They recommend using this
Buffer.from(apiKey.value).toString('base64')
You can also use this base-64 - npm