Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

401 coinapi won't work #124

Closed
rstormsf opened this issue Oct 27, 2020 · 2 comments
Closed

401 coinapi won't work #124

rstormsf opened this issue Oct 27, 2020 · 2 comments

Comments

@rstormsf
Copy link
Contributor

Test:

cd https://github.com/smartcontractkit/external-adapters-js/tree/master/coinapi
npm i
API_KEY=xyz npm test

Result:

{"message":"Could not reach endpoint: \"Request failed with status code 401\"","level":"error","instanceId":"1bc8f1c1-592c-42af-b217-ac3ff7c1d0c9","timestamp":"2020-10-27T05:37:12.259Z"}
@thodges-gh
Copy link
Contributor

It's working for me on the master branch:

cd external-adapters-js
yarn
cd coinapi
yarn test

(I use direnv to handle my environment vars.)

@rstormsf
Copy link
Contributor Author

@thodges-gh Not sure why, but it works for me now. Maybe coinapi API_KEY tooks some time to whitelist it. Not an issue anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants