403 Error: Delegate Instance Null in Pulseway API Response
I'm encountering a 403 response when making a GET request to the Pulseway API to retrieve data. The error message indicates a delegate returned null for the IApiTokensDataService.
Request Details:
curl -X GET "https://api.pulseway.com/v3/organizations" -u "<TokenID>:<TokenSecret>"
Also tried
curl -X GET "https://my-server-name.pulseway.com/v3/organizations" -u "<TokenID>:<TokenSecret>"
Response
{
"Data": null,
"Meta": {
"TotalCount": 0,
"ResponseCode": 403,
"ErrorMessage": "A delegate registered to create instances of 'MM.Monitor.Application.ApiTokens.Services.Interfaces.IApiTokensDataService' returned null."
}
}
I tried with other endpoints as well such as environments, and assets but got the same issue.
Could you please help?
@Anne
Thanks,
Bharat K