@mr_s Your API key is incorrect.
{
"status": false,
"message": "Invalid API Key",
"errorcode": "AG8004",
"data": null
}
@mr_s Your API key is incorrect.
{
"status": false,
"message": "Invalid API Key",
"errorcode": "AG8004",
"data": null
}
@sugagenius Cheers to your persistence. :) Once done with all modifications, please make sure to send a pull request to the github repo so other algo traders can also be benefited.
@sugagenius I can understand your frustration. To build it yourself.
git clone https://github.com/angel-one/smartapi-java.git
cd smartapi-java
# Fix Order.Java
mvn clean package -DskipTests
Compiled jar file will be in target folder.
@sugagenius git clone the Github repository https://github.com/angel-one/smartapi-java. Update Order.java model https://github.com/angel-one/smartapi-java/blob/main/src/main/java/com/angelbroking/smartapi/models/Order.java#L128 by adding scripconsent=yes in the end and compile into new jar file.
@archana Static IP limitation is only applicable on order placement and modification APIs endpoints as per circular, as mentioned above.
@archana Intermittent issue caused because of service disruption. https://smartapi.angelbroking.com/docs/Exceptions
@archana Yes. For that reason we have "New Login" on https://smartapi.angelbroking.com.
@kvineeth Having a trading account itself puts you in a SLA. This could be an intermittent issue. Error AB1004, clearly suggest "Internal Server Error" as mentioned in the docs here https://smartapi.angelbroking.com/docs/Exceptions.
@meenavenkit This is an intermittent issue. You can try "Logout from all devices" from the website and can try again. Try with mobile internet on local machine that has new IP everytime to verify if it's an IP related issue.