You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing an issue while attempting to add the sample JSON STAC collection to the Geoportal Server catalog. Upon submission, I encounter the following error:
It appears that the error is related to a missing property in the JSON payload. I would appreciate any guidance on resolving this issue or any updates regarding a potential fix.
The text was updated successfully, but these errors were encountered:
When trying to post a new STAC collection in geoportal via STAC API, geoportal would check the collection id if it exists in the elasticsearch.
Upon an id is retrieved from given collection.json, it will use getCollectionWithId(String id) function in Stachelper.java, to check if same id can be found in existing index, i.e. collections.
DocumentContext elasticResContext = JsonPath.parse(response);
**// When reading "$hits", it will jump to error 404 as the index: collections is yet to be created**
net.minidev.json.JSONArray items = elasticResContext.read("$.hits.hits");
JSONObject item = null;
It seems geoportal should have created or checked the index "collections" before getting no. of returned hits but didn't do it. I've tested it in release 2.7.2. Not sure, if it works in latest release 2.7.2.1 as I still cannot compile it successfully. Please advise.
I am experiencing an issue while attempting to add the sample JSON STAC collection to the Geoportal Server catalog. Upon submission, I encounter the following error:
It appears that the error is related to a missing property in the JSON payload. I would appreciate any guidance on resolving this issue or any updates regarding a potential fix.
The text was updated successfully, but these errors were encountered: