agent has stopped ,not working

agent has stopped ,not working

Description :
                   An agent has stopped ,not working. Agent is not not able to start.

Error in logs : 

Registering AGENT

2023-06-16 16:37:19 IST (+05:30) main INFO  AgentDetailsUtils:102 - This agent was not configured for predefined workflows
2023-06-16 16:37:21 IST (+05:30) main ERROR AgentMain:147 - Error Registering AGENT, shutting down
com.automationedge.aeagent.exceptions.AgentRegistrationFailed: Agent Registration Failed
    at com.automationedge.aeagent.util.AEServerUtil.registerAgent(AEServerUtil.java:254) ~[aeagent-7.5.1.jar:?]
    at com.automationedge.aeagent.util.AEServerUtil.doRegister(AEServerUtil.java:262) ~[aeagent-7.5.1.jar:?]
    at com.automationedge.aeagent.AgentMain.registerAgent(AgentMain.java:144) [aeagent-7.5.1.jar:?]
    at com.automationedge.aeagent.AgentMain.main(AgentMain.java:87) [aeagent-7.5.1.jar:?]

 
How To Reproduce :
 Install agent on machine A. Download new agent from the server and trying to run an agent on machine B.

Reolution 
Delete the agent folder from machine A as well as server, downloaded the new agent, and installed agent on machine B.

      Links to better reach 

            Bot Store

             EPD