Skip to main content
Question

Is it HTTPcaller error or API error?

  • July 21, 2022
  • 8 replies
  • 26 views

smfks911

Hi altruist, I am trying to fetch data through API for the first time through GET method. However, I am getting error message each time with a code 401 (unauthorized access). Can you kindly tell me from the first image, whether I have correctly put information in the HTTPcaller transformer? I mean the access is really unauthorized or need to other parameter values? I have used the site owner provided credentials to get the request URL. A help will be really appreciated.SolarAnalyticAPI SolarAnalyticAPI_httpcaller

8 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3697 replies
  • July 21, 2022

If I put that url in a browser I'm also getting a 401 error: unauthorized access. Most likely the API does need authentication. Check the documentation of the API to see how they handle that.


smfks911
  • Author
  • 46 replies
  • July 21, 2022

If I put that url in a browser I'm also getting a 401 error: unauthorized access. Most likely the API does need authentication. Check the documentation of the API to see how they handle that.

Thank you @Hans van der Maarel​. I have tried by using the credentials as well in the authorization tab but still not working. The API documentation is here:

Solar Analytics API Docs


redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3697 replies
  • July 21, 2022

Thank you @Hans van der Maarel​. I have tried by using the credentials as well in the authorization tab but still not working. The API documentation is here:

Solar Analytics API Docs

I cannot help you with this because I don't have a login for that API. Additionally, it'd be nice if you could share a screenshot of how you have that authorization part set up in the HTTPCaller.


smfks911
  • Author
  • 46 replies
  • July 21, 2022

Thank you @Hans van der Maarel​. I have tried by using the credentials as well in the authorization tab but still not working. The API documentation is here:

Solar Analytics API Docs

hi @Hans van der Maarel​ I have setup the authentication process here

SolarAnalyticAPI2these are the details I am having to access API

 

SolarAnalyticAPI3


redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3697 replies
  • July 21, 2022

Thank you @Hans van der Maarel​. I have tried by using the credentials as well in the authorization tab but still not working. The API documentation is here:

Solar Analytics API Docs

That is not the documentation on authentication.


smfks911
  • Author
  • 46 replies
  • July 21, 2022

Thank you @Hans van der Maarel​. I have tried by using the credentials as well in the authorization tab but still not working. The API documentation is here:

Solar Analytics API Docs

hi @Hans van der Maarel​, can you suggest me which one could be the authentication document then (see the first image)?

SolarAnalyticAPI_allI have fetched token by using user credentials as well and put that as header like the attached images. Still the unauthorized error. Can you just suggest me what could be the source of error in the HTTPcaller parameters?

SolarAnalyticAPI4 SolarAnalyticAPI_httpcaller2


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3422 replies
  • July 21, 2022

Do you have access to postman?

 

I'd always try and make sure i can get any requests working there before trying to setup the http caller


smfks911
  • Author
  • 46 replies
  • July 22, 2022

Do you have access to postman?

 

I'd always try and make sure i can get any requests working there before trying to setup the http caller

I have no experience of using Postman before @ebygomm​ .