Question

Is it HTTPcaller error or API error?


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

Userlevel 5
Badge +25

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.

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

Userlevel 5
Badge +25

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.

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

Userlevel 5
Badge +25

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.

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

Userlevel 1
Badge +10

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

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​ .

Reply