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

You cannot consume this service #239

Open
BugMiner2 opened this issue Sep 26, 2023 · 3 comments
Open

You cannot consume this service #239

BugMiner2 opened this issue Sep 26, 2023 · 3 comments

Comments

@BugMiner2
Copy link

Has anyone figured out how to work with the new API? I received a free key, I do 1v1 as per the instructions - it doesn’t work.

cmd = "curl --request GET 'https://api.apilayer.com/currency_data/convert?base=USD&symbols=EUR,GBP,JPY&amount=5&date=2018-01-01' \ --header 'apikey: KKKKEY'"

data = run(cmd, capture_output=True, shell=True)
data.stdout

b'{"message":"You cannot consume this service"}'

@ShubhamDalmia
Copy link

{"success":false,"error":{"code":105,"type":"https_access_restricted","info":"Access Restricted - Your current Subscription Plan does not support HTTPS Encryption."}}
I'm getting this error instead.

@CasperRademaker-AbOvo
Copy link

Try HTTP instead of HTTPS. The free service doesn't support HTTPS.

@Powerstone-gh
Copy link

Yes, the free service doesn't support HTTPS

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

4 participants