API Connector getting error

This is my first time trying to use the API connector plugin… My api works fine through postman as far as I can tell, but when I try to initialize it, I am getting the following error:

There was an issue setting up your call.

Raw error for the API
{“args”:{“name”:“Promise(waiting on default_lib.http_request https://www.reisewarnung.net/api)”}}

Any idea why? And what does that mean? Trying to learn but need some guidance…

Can you show us a pic of your API connector?

Have the similar issue

Look at the screenshot above. Don’t just look at it… READ THE ERROR.

“User date range is required but you didn’t pass a value.”

And indeed, in the lower part of the screenshot, there’s a BIG EMPTY INPUT with no Value for the required Key called UserDateRange. And the “Optional” box is not checked (meaning, that parameter is required).

Valeri is trying to initialize his API call, but he’s not passing ANY of the data the API requires (note the SECOND blank value), is he?

No, he is not.

Do you think perhaps he should fill those in with representative values?

Yes. Yes he should.

There is one other very common error when one is starting out with the API Connector and API’s in general: We need to set the Content-Type header and this is often overlooked.

Key: Content-Type Value: application/json

… Typically needs to be added in cases when you’re sure you’ve got everything else configured right, but the API just returns errors.