Hi, I have an issue with an input Poll an external website for json (GeoEvent 10.6) : Request failed (HTTP/1.1 415 Unsupported Media Type). i changed the MIME type with "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8", i still have an ERROR. Some idea ?
Any chance you can provide the URL that you are trying to access within Geoevent? Depending on how the JSON is accessed, it can require a certain MIME type.
Thanks,
Daniel
Hey,
so "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8" is the MIME Type you configured as "Acceptable MIME Types (Client Mode)" in the Advanced section of your Input Adapter or is this the Content-Type of the Response from your external Website?
In General, when Polling a JSON, it should work to use "text/json,application/json" for "Acceptable MIME Types (Client Mode)". But only if it fits to the Content-Type of you external Website. So you should check what MIME Type is used there.
Best,
Stefan