I'm having some trouble with the ```/v1/schema/rea...
# spicedb
t
I'm having some trouble with the
Copy code
/v1/schema/read
rest API. It returns
Copy code
{
  "code": 5,
  "message": "No schema has been defined; please call WriteSchema to start",
  "details": []
}
Even though I just wrote the schema (and I checked it on the database and it's there). I can even write relationships successfully. Funny thing is, it's working in staging environment but not in production. Any ideas of what it might be?
2 Views