koopjs / koop-provider-elasticsearch

A provider for koop that can connect to one or more elastic search instances and turn indices/aliases into individual feature services.
Apache License 2.0
13 stars 4 forks source link

looks like this provider is not working with the latest Koop release #12

Closed keithfraley closed 3 years ago

keithfraley commented 6 years ago

I just upgraded my koop instance and it wont work with this provider, any thoughts?

(node:5648) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 15): SyntaxError: Unexpected token o in JSON at position 1

rgwozdz commented 6 years ago

The latest upgrade to koop-core includes parsing of query/body parameters that arrive as JSON strings, so it might have something to do with that. Perhaps you are trying to JSON parse a query param that has already been parsed by koop-core?

dhatcher commented 3 years ago

Closing, if this is still an issue let me know.