Hello,
I am trying to connect to the web API of a cluster, but I am receiving the following error:
{
"Message": "Cannot connect to the DMA; exception trapped: The DMA is not licensed for accessing the WebAPIs.",
"StackTrace": " at Skyline.DataMiner.Web.Common.v1.ConnectingModule.ConnectApp(String login, String password, DMAConnectionConfig config, AuthenticationMethod authMethod)\r\n at Skyline.DataMiner.Web.v1.Json.ConnectApp(String host, String login, String password, String clientAppName, String clientAppVersion, String clientComputerName)",
"ExceptionType": "Skyline.DataMiner.Web.Common.WebApiException"
}
I have already modified the web.config
file in the folder C:\Skyline DataMiner\Webpages\API
, uncommented the line:
<!-- uncomment to test webservices outside localhost: <protocols> <add name="HttpGet"/> <add name="HttpPost"/> </protocols> //-->
But that still hasn't resolved the issue. I also restarted the agent. Am I forgetting something?
Thanks in advance
Hi Maximiliano, just a quick check, can you validate in the "about" section of the DMA if "Web API v1" is among the licensed options?
That's it. Some agents in the cluster have the license, but others do not. Thank you.
Hi Maximiliano,
As confirmed in the above comments, the issue is due to the missing "Web API v1" license option.
Please get in touch with our Licensing team (dataminer.licensing@skyline.be), and inform them about which DMA IDs are missing this license option. The DMA records will be updated and a new license will be provided to you. Thank you in advance!
Can you check if DMA is licensed for Web API under the Licensed options? You should find 'Web API v1' listed if it is.