Jump to content

Bharat

Members
  • Posts

    3
  • Joined

  • Last visited

  1. Hi @Mariale_Pulseway, I am able to make API calls using the following URL: https://my-server-name/api/v3/devices However, this part of the documentation is quite confusing: HTTP Request: https://api.pulseway.com/v3/Devices If you host your own Pulseway Enterprise Server, use https://your-server-name/api/v3/ as the base URL. I haven't hosted my own Pulseway server, yet I’m still unable to use the API at: https://api.pulseway.com/v3/Devices Is there another way to access a Pulseway trial without a self-hosted server? Thanks! Or could you please provide me examples of self-hosted servers and non-self-hosted server URLs in the browser or baseUrl? Thanks!
  2. Also tried Axios With "https://my-server.pulseway.com/v3/organizations"; getting 404 and with "https://api.pulseway.com/v3/organizations"; getting 403 response const axios = require('axios'); const endpoint = "https://my-server.pulseway.com/v3/organizations"; const token_id = "token ID"; const token_secret = "token Secret"; const auth = { username: token_id, password: token_secret, }; axios.get(endpoint, { auth }) .then(response => { console.log(response.data); }) .catch(error => { console.error(error); });
  3. 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
×
×
  • Create New...