Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error calling spatial service #1064

Open
chrisala opened this issue Feb 7, 2025 · 0 comments
Open

Error calling spatial service #1064

chrisala opened this issue Feb 7, 2025 · 0 comments
Assignees
Milestone

Comments

@chrisala
Copy link
Collaborator

chrisala commented Feb 7, 2025

The ecodata logs are full of errors from a bad call to the spatial service.
e.g. error:Failed to get json from web service. class java.io.IOException Server returned HTTP response code: 500 for URL: https://spatial-test.ala.org.au/ws/intersect/object//5388516 URL= https://spatial-test.ala.org.au/ws/intersect/object//5388516

After some investigation, the source of this error appears to be a call to /ws/spatial/features with an empty "intersectWith" parameter.

This results in a call to spatial with a blank "fid" in the URL path as above resulting in the error.

The source of this in MERIT is a call to /project/spatialFeatures. I think this to to get a list of electorates and states for selection on the project admin tab to support overrides.

As an aside it would be useful to cache this one in MERIT as it's unlikely to change frequently. (And maybe add long lasting broswer cache headers as well)

@chrisala chrisala self-assigned this Feb 7, 2025
@chrisala chrisala added this to the 5.2 milestone Feb 7, 2025
temi added a commit that referenced this issue Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant