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