-
Notifications
You must be signed in to change notification settings - Fork 2
Description
When more than one team is defined in LeapWork the integrations between Teamcity and LeapWork fails with following error
Code: 500 Status: Application error occured. Error code: -1!
Error can be avoided by only having one team defined, obviously meaning that this feature in 2021-1 release can not be used until this issue is resolved
Job in TeamCity fails with following error code

Code: 500 Status: Application error occured. Error code: -1!
Controller responded with errors! Please check controller logs and try again! If does not help, try to restart controller.
Checking controller log following entries can be seen
[11976] LeapTest.AutomationController.Repositories.ApiActors.ApiScheduleStatusByRunIdWorkerActor 2021-02-17 21:19:02.9018 - Error Message: Could not get status by RunId LeapTest.AutomationController.API.v3.ApiException: Incorrect team id at LeapTest.AutomationController.API.v3.ApiHelper.GetTeamActor[T](Guid teamId) in C:\Azure_Agents\win4\_work\2\s\Main\LeapTest.AutomationController\API\v3\ApiHelper.cs:line 298 at LeapTest.AutomationController.Repositories.ApiActors.ApiScheduleStatusByRunIdWorkerActor.GetRunStatus(GetRunStatusApiMessage msg) in C:\Azure_Agents\win4\_work\2\s\Main\LeapTest.AutomationController\Repositories\ApiActors\ApiScheduleStatusByRunIdWorkerActor.cs:line 69 at LeapTest.AutomationController.API.v3.ApiHelper.GetTeamActor[T](Guid teamId) in C:\Azure_Agents\win4\_work\2\s\Main\LeapTest.AutomationController\API\v3\ApiHelper.cs:line 298 at LeapTest.AutomationController.Repositories.ApiActors.ApiScheduleStatusByRunIdWorkerActor.GetRunStatus(GetRunStatusApiMessage msg) in C:\Azure_Agents\win4\_work\2\s\Main\LeapTest.AutomationController\Repositories\ApiActors\ApiScheduleStatusByRunIdWorkerActor.cs:line 69

I suspect API (by luck) return a correct answer when only one team is defined in LeapWork