fluree / core

Fluree releases and public bug reports
0 stars 0 forks source link

Unable to read index error #31

Closed aaj3f closed 9 months ago

aaj3f commented 9 months ago

Description

This error was encountered while using http-api-gateway.

http-api-gateway commit sha: 1b6c405c04005a215637b59120d0b46c8e530617

NOTE: deps.edn was updated to use a more recent db commit. To recreate, make sure you update com.fluree/db to 81ff314cc83e10534bd4d5978cbf32460c2fe285

Perhaps easiest way to recreate is to use the zipped data/ dir which can be expanded and put directly in the http-api-gateway project directory (or wherever you're running it from). It's attached here:

data.zip

As an alternative, I've included the /create payload and /transact payloads used to establish ledger state (inside the bug-data.zip file):

bug-data.zip

Any query should prompt the error, but a good example would be:

{
    "from": "fluree/387028092977569",
    "select": { "?assertion": ["*"] },
    "where": [
        [
            "?assertion",
            "@type",
            "ex:Assertion"
        ]
    ],
    "depth": 5,
    "limit": 10
}