pledge4future/WePledge

Institutions query endpoint returns error

Closed this issue · 3 comments

When trying to call the institutions endpoint, the backend returns the following eror:

Expected UUID instance, received 1\nExpected UUID instance, received 2\nExpected UUID instance, received 3...

I shortened the error message because it is extremely long.
The request body looks like this:

query {
        institutions {
        id
        name
        city
        country
        }
    }

I'm looking into it. Looks related to #206

Did you delete the docker volume containing the database? The error message sounds like the database contains integers while the data model expects uuids.

Ass you suggested, deleting and rebuilding the volumes fixed this problem :)