In this section, we will have a look at troubleshooting scenarios:
- Connection issues: The most common issue we face during retrieval or deploying metadata is a connection issue. We use asynchronous types of requests during retrieval or deployment of metadata so we do not get a response immediately. The call for deploy operation is asynchronous sometimes Ant Migration Tool time outs during deployment. So if the Ant Migration Tool fails due to timeout and the deployment has any errors, we will not be able to see the error logs. In that case, we need to configure the
pollWaitMillis
andmaxPoll
parameters. - Invalid credentials or user locked out: If you are getting this error, then there is an issue with your
build.properties
file. You need to verify the username, password, security token, and server URL are correct. Also, if you have several failed login attempts, then there is chance that your user is locked out. So, the number of failed attempts that are allowed depends on your...