I am not able to log into my account facing error Request aborted [500]
I am outside India
Welcome to Upstox community, @Nitish_Sainani
To fix this, please clear your browser cookies & cache and try logging in again.
If the problem persists, please let us know.
Hello, I am trying to access Upstox outside India, it wonāt allow me to login. Shows Request aborted[500] error. Please help resolve asap.
I tried cleaning cache and opening in private browser, still same issue
Browser cache cleared
Incognito
Different browser
Login on Upstox website
Login from smallcase
Tried vpn
Tried all these things
This is issue of your CDN which is not blocking traffic from outside India
Please fix it.
Every person from outside India is facing it.
Please fix it ASAP and donāt ask me the booklet questions
Hey @Nitish_Sainani ,
Our team has fixed this issue. Request you to please try logging in again. If you face any issue reach out to us here. Thanks.
started this issue again
please let us know what are your arrangement for tommorow
Hi @Aniket_Tawade,
Thank you for reaching out. To address this, we suggest clearing your browserās cookies and cache and try attempting to login again.
If the problem persists, please let us know.
I used to automate my login process
now right after i enter my mobile number the cloudflare captcha is failing to solveā¦
the entire thing is in incognito mode and the process to get there is automated.
Hi @Mahesh_Herle ,
Our team has fixed this issue. Request you to please try logging in again. If you face any issue please share a screenshot along with your UCC ID and weāll get it checked. Thanks!
Found one temporary fix for this Request aborted [500] issue.
- construct the url with your api_key and redirect RUI like below
standard_uri= āhttps://api-v2.upstox.com/login/authorization/dialog?response_type=code&client_id=(API-Key)&redirect_uri=(Redirect-URI)ā
-
Open this url in edge browser , enter phone number and enter OTP manually so you will get the request_token manually within the url
-
Enter this request_token in below method and hit it
def getaccesstoken():
post_url =āhttps://api-v2.upstox.com/login/authorization/tokenā
headers = {
āacceptā : āapplication/jsonā,
āApi-Versionā: ā2.0ā,
āContent-Typeā: āapplication/x-www-form-urlencodedā
}
data = {
"code": request_token,
"client_id": api_key,
"client_secret": api_secret,
"redirect_uri": redirect_url,
"grant_type": "authorization_code"
}
response = requests.post(post_url, headers=headers, data=data)
return response.content
You will get the access token.
Note: via automation its failing with Request aborted [500] so just found this work around to continue trading by manually generating the access token for the day.
Looking upstox team to fix this actually issue soon. Happy trading !!