The error message you received indicates that the authentication code you are using is invalid. Please regenerate your authentication code, as it is important to note that the code is valid for one-time use only.
Sorry, you have been blocked## You are unable to access upstox.com
Why have I been blocked?
This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.
What can I do to resolve this?
You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.
Cloudflare Ray ID: 8bcac2ae5f142c67 • Your IP: 162.241.123.164 • Performance & security by Cloudflare
1
Even at the end it returns 1
I don’t know if I am doing anything wrong. Here is my code: