I'm regularly getting some of these errors when ca...
# spicedb
w
I'm regularly getting some of these errors when calling the check endpoint:
Copy code
Could not check permissions from the SpiceDB service. Error: 2 UNKNOWN: error dispatching request: unable to read namespace config: context canceled
    at Object.callErrorFromStatus (/home/node/app/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/home/node/app/node_modules/@grpc/grpc-js/build/src/client.js:180:52)
    at Object.onReceiveStatus (/home/node/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
    at Object.onReceiveStatus (/home/node/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
    at /home/node/app/node_modules/@grpc/grpc-js/build/src/call-stream.js:182:78
    at processTicksAndRejections (internal/process/task_queues.js:77:11) {
  code: 2,
  details: 'error dispatching request: unable to read namespace config: context canceled',
  metadata: Metadata {
    internalRepr: Map(2) {
      'io.spicedb.respmeta.dispatchedoperationscount' => [Array],
      'io.spicedb.respmeta.cachedoperationscount' => [Array]
    },
    options: {}
  }
}
That seems like an internal error, either it's a bug or it should surface a more readable error for the developer? "namespace config" and "context canceled" aren't concepts I've encountered in the docs
22 Views