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

Binance API issue #1413

Open
Shaheer78611 opened this issue Apr 28, 2024 · 1 comment
Open

Binance API issue #1413

Shaheer78611 opened this issue Apr 28, 2024 · 1 comment
Assignees
Labels

Comments

@Shaheer78611
Copy link

client = Client(config.API_KEY , config.API_SECRET,tld='us')

this is my code
and this is the error i am having

Exception has occurred: BinanceAPIException
APIError(code=0): Invalid JSON error message from Binance:

<TITLE>ERROR: The request could not be satisfied</TITLE>

403 ERROR

The request could not be satisfied.


The Amazon CloudFront distribution is configured to block access from your country. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

Generated by cloudfront (CloudFront)
Request ID: BzptfXbqFbB8GHA_XxCvgDnfpyQ3NIyzMMqMsEyEMgPT7HVwTZbDnQ==
File "C:\Users\shahe\RSIBOT\bot.py", line 17, in client = Client(config.API_KEY , config.API_SECRET,tld='us') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ binance.exceptions.BinanceAPIException: APIError(code=0): Invalid JSON error message from Binance: <TITLE>ERROR: The request could not be satisfied</TITLE>

403 ERROR

The request could not be satisfied.


The Amazon CloudFront distribution is configured to block access from your country. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

Generated by cloudfront (CloudFront)
Request ID: BzptfXbqFbB8GHA_XxCvgDnfpyQ3NIyzMMqMsEyEMgPT7HVwTZbDnQ==
@carlosmiei carlosmiei self-assigned this Oct 22, 2024
@carlosmiei
Copy link
Collaborator

Hello @Shaheer78611, I think this is related to your location and not python-binance directly

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

No branches or pull requests

2 participants