I have been trying to create POST requests from TeamDesk to Manager to api2/employee-form
path but I keep getting the same error that reads:
System.ArgumentException: The value 'employee-form' is not a valid GUID. Please provide a valid GUID in the correct format, for example: 'FA896E59-5EAF-450E-AA6B-E2321D96026B'. (Parameter 'input')
at Manager.GuidExtensions.ToGuid(String input) in /home/runner/work/Manager/Manager/Manager/GuidExtensions.cs:line 20
at ManagerServer.HttpHandlers.Api2.Api2.ProcessRequest() in /home/runner/work/Manager/Manager/ManagerServer/HttpHandlers/Api2/Api2.cs:line 330
Here’s a screenshot of the failed request:
I checked the URL, the request method I used and the api2 documentation. I also ran the same request on curl and it succeeded with the following response:
{
"Name": "Ali Yusuf Husain Habib Husain ",
"Code": "************",
"Key": "ccea1017-6580-4935-b10e-94989ade80c1"
}
I’m not sure what is going wrong here or how to fix it. It seems like it only takes place in TeamDesk, but then the error message from Manager makes no sense.