Error getting data from an API with Get Request

hello, I’m trying to get data from an API that uses header data as an authentication key, but when I enter the information in the GET REQUEST it returns the error below:

obs: I tested it on the postman and it returns the data

I’ve looked on other knime forums but haven’t found anything that can help me

Hi @Gabriel_In and welcome to the Knime Community.

Can you show us what you did? What is the API and how are you passing the headers?

Can you also share what is the http status that it returned?

Hi @bruno29a

Of course, I rode so far like this
image

The header (the security items I left as xxxxx)

And the http status it return me (401)

And as in postman it runs normally

Thanks for the additional information @Gabriel_In .

Do you have the documentation for the api, or perhaps show how you are authenticating in Postman?

Not to hijack but I am getting the same errors all of a sudden on get request. It works if I access the site with Chrome but the GET request returns a Java PKIX error.
“Unable to find valid certification path to requested target”

You can sometimes overcome this by enabling the SSL settings in the GET Request connection config.

image

Tried. Still not running. I very much suspect the 4.6.4 update.
Coworker tried it on his pc with 4.5 and worked without issues.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.