Hello dear SuperOffice!
I'm trying to use your sample repo for dotnet core.
This one 2 be precise.
https://github.com/SuperOffice/SuperOffice.WebApi-Samples/blob/main/SuperOffice.WebApi.NetCoreSample/SuperOffice.WebApi.NetCoreSample.csproj
When trying to invoke the main method in Program.cs row 64, I get hit with this error right after:
This is when it is trying to get "GetSystemInfo" just in the beginning of the main method. Any idea why?
Kind regards,
S
All Replies (4)
For the record, I've commented this out for now and can reach my GetPersonEntityAsync without any issues. It returns the person which I'd I provide.
Hi Seph!
The GetSystemInfo method wasn't correct, it excluded the WebApiOptions necessary to know which tenant URL to ask for system version information.
It was correct in the .NET FW program.cs, so I just updated the .NET 8 sample to mirror the other and it now works as expected.
I am sorry for any inconvenience.
Best regards!
Thank you for the quick response. Thank you for updating the repo.
Kind regards,
Seph