JSONObject["data not found"] not found.
-
Hi I am new and trying to login using below code. But it gives me error every time. Can you please let me know what causing it or an I missing something?
SmartConnect smartConnect = new SmartConnect();
smartConnect.setApiKey(angel_api_key);
smartConnect.generateSession(angel_userId, angel_password); (Error in this line)It gives below error
Exception in thread "main" org.json.JSONException: JSONObject["data not found"] not found. -
Hi @pankaj8932 please check your id password and try to regenerate session.Also have you migrated your account.?
-
@admin
SmartConnect smartConnect = new SmartConnect();
smartConnect.setApiKey(angel_api_key);
smartConnect.generateSession(angel_userId, angel_password); (Error in this line)It gives below error
Exception in thread "main" org.json.JSONException: JSONObject["data not found"] not found. -
Hi @pankaj8932 post your request and response here.
-
@admin Now I can place the intraday/margin sell order first through app/desktop but now I am unable to access API. It gives same error again " JSONObject["data not found"] not found".
I think these issues are interrelated. Can you please check from your side what is causing the issue.
- topic:timeago_earlier,7 days
-
Hi @pankaj8932 You need to call normal customer care for this issue.
-
@admin After migration I can access API with no issues. But now I am unable to place sell order from app. Every time it says "Trade in Margin product type is not allowed". When changing to Intraday again it says "Intraday trade is not allowed"
Always I have to buy first then sell. If I do sell first then it gives above error. Earlier I was able to place this order. Can you check what goes wrong in my account?
Same I tried in code and it give error if I use product type as PRODUCT_INTRADAY or PRODUCT_MIS
- topic:timeago_earlier,7 days
-
Hi @pankaj8932 said in JSONObject["data not found"] not found.:
P51757
You have not migrated your account as we can see..Kindly fill below form to migrate your account.
https://docs.google.com/forms/d/e/1FAIpQLSdgpCiDhSBa_bsKsec002e9unbeQkipOLFAKW7DzPvmiowsaw/viewform -
@admin Not sure what it is but I never raised any request to
migrate. Do I need to migrate my account for this? Can you help me on this? My client code id P51757 -
Hi @pankaj8932 Have you migrated your account..?