Closed maxweber closed 8 months ago
Initially, I tried to do the tutorial directly on the documentation page. But there I received the following error:
Here the full error response:
{
"message": "Invalid query: {:context {\"acd\" \"https://academic-credential-dataset.net/ns/\", \"clr\" \"https://purl.imsglobal.org/spec/vc/ob/vocab.html#\", \"vc\" \"https://www.w3.org/2018/credentials/v1\"}, :select {\"?credentials\" [\"*\"]}, :where {\"@id\" \"?credentials\", \"@type\" \"acd:Credential\"}, :opts {:context-type :string, :issuer nil}} - where: invalid type",
"data": {
"Ra": null,
"Ma": 2,
"Ia": [
{
"hd": null,
"name": "status",
"qb": "status",
"$c": -1997798413,
"Ka": 2153775105,
"Pa": 4096
},
400,
{
"hd": null,
"name": "error",
"qb": "error",
"$c": -978969032,
"Ka": 2153775105,
"Pa": 4096
},
{
"hd": "db",
"name": "invalid-query",
"qb": "db/invalid-query",
"$c": -1009699917,
"Ka": 2153775105,
"Pa": 4096
}
],
"Qa": null,
"Ka": 16647951,
"Pa": 401412
},
"cause": null,
"name": "Error",
"stack": "Error: Invalid query: {:context {\"acd\" \"https://academic-credential-dataset.net/ns/\", \"clr\" \"https://purl.imsglobal.org/spec/vc/ob/vocab.html#\", \"vc\" \"https://www.w3.org/2018/credentials/v1\"}, :select {\"?credentials\" [\"*\"]}, :where {\"@id\" \"?credentials\", \"@type\" \"acd:Credential\"}, :opts {:context-type :string, :issuer nil}} - where: invalid type\n at new Cu (https://next.developers.flur.ee/assets/js/8a8b8c32.bd045955.js:1:266362)\n at WL.Fa (https://next.developers.flur.ee/assets/js/8a8b8c32.bd045955.js:1:1197047)\n at WL.Da (https://next.developers.flur.ee/assets/js/8a8b8c32.bd045955.js:1:1197004)\n at kT (https://next.developers.flur.ee/assets/js/8a8b8c32.bd045955.js:1:708239)\n at t (https://next.developers.flur.ee/assets/js/8a8b8c32.bd045955.js:1:955480)\n at Function.e [as Ea] (https://next.developers.flur.ee/assets/js/8a8b8c32.bd045955.js:1:958492)\n at Jh (https://next.developers.flur.ee/assets/js/8a8b8c32.bd045955.js:1:287262)\n at https://next.developers.flur.ee/assets/js/8a8b8c32.bd045955.js:1:287430\n at https://next.developers.flur.ee/assets/js/8a8b8c32.bd045955.js:1:1359248\n at Fh (https://next.developers.flur.ee/assets/js/8a8b8c32.bd045955.js:1:285736)"
}
Hi @maxweber - thanks for opening an issue for this. Looks like the syntax has not yet been updated for the latest release of Fluree v3. I'll get that updated now so this tutorial will work for you.
That said, there is a known issue with browser-based Fluree so the documentation page that may continue to be broken.
Hi again @maxweber - please pull the latest commit and try the walkthrough in the README again. Let me know how it goes!
Hi @Jackamus29 awesome :partying_face: Now every step of the tutorial works :+1: Thanks a lot.
Hi, I'm trying to follow the tutorial. Here are the steps I did:
To start the Fluree server I run:
In a second attempt, I also used
docker pull fluree/server
beforehand to ensure that I have the latest version. And I also did the same experiment by starting the Fluree server via https://github.com/fluree/server/blob/da13c507126b11ae3043a757f478777b7db929fe/dev/src/user.clj#L111However, everytime I do the next step of the tutorial:
I receive the following error in the Fluree server log: