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

TronGrid: Request failed with status code 403 #8

Closed
fmando opened this issue May 11, 2021 · 1 comment
Closed

TronGrid: Request failed with status code 403 #8

fmando opened this issue May 11, 2021 · 1 comment

Comments

@fmando
Copy link

fmando commented May 11, 2021

Do i have to many transactions?

Looking up TRC10 ID 1002072...
Looking up TRC10 ID 1002830...
Looking up TRC10 ID 1002814...
Looking up TRC10 ID 1002377...
Looking up TRC10 ID 1002578...
Looking up TRC10 ID 1002798...
Error querying TronGrid: Request failed with status code 403
Query TronGrid retry #1
Error querying TronGrid: Request failed with status code 403
Query TronGrid retry #2
Error querying TronGrid: Request failed with status code 403
Query TronGrid retry #3
Error querying TronGrid: Request failed with status code 403
Query TronGrid retry #4
Error querying TronGrid: Request failed with status code 403
Query TronGrid retry #5
Error querying TronGrid: Request failed with status code 403
Query TronGrid retry #6
Error querying TronGrid: Request failed with status code 403
Query TronGrid retry #7
Error querying TronGrid: Request failed with status code 403
Query TronGrid retry #8
Error querying TronGrid: Request failed with status code 403
Query TronGrid retry #9
Error querying TronGrid: Request failed with status code 403
Query TronGrid retry #10
Error querying TronGrid: Request failed with status code 403
Error: Multiple attempts to query TronGrid failed!
at queryTronGrid (/root/tron-transfers-downloader/index.js:57:9)
at process._tickCallback (internal/process/next_tick.js:68:7)
error Command failed with exit code 1.

@fmando
Copy link
Author

fmando commented May 11, 2021

Added a short delay in queryTronGrid function:

await new Promise(resolve => setTimeout(resolve, 55));

image

That helped me, thanks for coding.

@fmando fmando closed this as completed May 11, 2021
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

1 participant