Support Feedbac ksolved my issue. Here it is for anyone else having the same issue
500 errors are rather generic and are usually caused by a configuration problem in the connection between the two machines. If the parameters or actions are incorrect, the API will respond with correct feedback.
Most likely, the issue can be resolved by one of the following.
- Adding the necessary credentials to the API call that is being made
- Allow anonymous authentication by following the next steps:
- Navigate to %windir%\system32\inetsrv\config on the webserver and open the following file: applicationHost.config
- In the security setting section, change the 'anonymousAuthentication' to 'Allow' as shown below
<sectionGroup name="security">
<section name="access" overrideModeDefault="Deny" />
<section name="applicationDependencies" overrideModeDefault="Deny" />
<sectionGroup name="authentication">
<section name="anonymousAuthentication" overrideModeDefault="Allow" />
- Navigate to Program Files (x86)\Lansweeper\Website and open Web.config
- Add/update the following to the config file
<system.webServer>
<security>
<authentication>
<anonymousAuthentication enabled="true" />
</authentication>
</security>
</system.webServer>
- Restart the World Wide Web Publishing service or restart your Lansweeper site in IIS Manager.