node-iex-cloud
node-iex-cloud copied to clipboard
Error: The API Key provided is not valid
``I'm currently attempting a nodeJS project using commonJS modules. Whenever I try to run my server it gives me the following error:
Error: The API key provided is not valid.
at IEXRequest.
This is the code I used to install `node-iex-cloud
`const { IEXCloudClient } = require("node-iex-cloud");
const fetch = require("node-fetch");
const iex_module = new IEXCloudClient(fetch, {
sandbox: true,
publishable: "pk_API_KEY",
version: "stable"
});`