OnDemand Tenant Requests going in New State

Issue:-
Request going into NEW state on On-Demand . When checking the Agent logs, we get the below error:
FetchJob:101 - Error Fetching Workflow Instance
com.automationedge.aeagent.exceptions.AEAgentException: Unknown error at server side

How to reproduce :
You can use same credentials for multiple parameters in a workflow to reproduce this issue.

Resolution:-
When user uses the same credential in two different parameters in the workflow, workflow goes into a New state.
You have to use two different credentials in the two different parameters in a single workflow to resolve this issue.