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

API spec not found or internal server error #369

Open
rlzijdeman opened this issue Apr 7, 2022 · 1 comment
Open

API spec not found or internal server error #369

rlzijdeman opened this issue Apr 7, 2022 · 1 comment

Comments

@rlzijdeman
Copy link
Member

Hi, sorry to ask, but I'm doing something wrong and unsure of what.

My query is executable here:
https://api.druid.datalegend.net/s/pq0GcPt6j
My endpoint is here:
https://api.druid.datalegend.net/datasets/AdamNet/all/services/endpoint/sparql
My GitHub repo with subdir is here:
https://github.com/rlzijdeman/hackalod/tree/master/sparql-queries
My call in the browser is this:
http://grlc.io/api-git/rlzijdeman/hackalod/subdir/sparql-queries/
But that gives me "No Api definition defined".

When I force the query to be executed in the browser with:
http://grlc.io/api-git/rlzijdeman/hackalod/subdir/sparql-queries/adamlink-map-me.sparql
I get a 500 internal server error message.

What obvious thing am I missing?

@RubenSchalk
Copy link

RubenSchalk commented Apr 8, 2022

Hi Richard, perhaps change .sparql in the repo to .rq? Then it works at my repo at least :)

http://grlc.io/api/RubenSchalk/grlc-test#/default/get_zijdeman

and request url: http://grlc.io/api-git/RubenSchalk/grlc-test/zijdeman

rlzijdeman added a commit to rlzijdeman/hackalod that referenced this issue Apr 10, 2022
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

2 participants