https://authzed.com logo
Title
s

Singha1

01/19/2023, 5:57 PM
Hello Team, we recently upgraded to SpiceDB 1.15 and having one issue, While creating relationships if passing permissions (the one defined in schema) in place of relation in payload, it crashing, with below error, panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1779e89] goroutine 570 [running]: github.com/authzed/spicedb/internal/relationships.ErrCannotWriteToPermission.GRPCStatus({{0x2545f20?, 0xc000924320?}, 0xc0007b60c0?}) /home/runner/work/spicedb/spicedb/internal/relationships/errors.go:82 +0x69 google.golang.org/grpc/status.FromError({0x2558f40, 0xc000e04120}) /home/runner/go/pkg/mod/google.golang.org/grpc@v1.50.1/status/status.go:94 +0xea github.com/authzed/spicedb/internal/services/v1.rewriteError({0x2573338, 0xc00073c1b0}, {0x2558f40?, 0xc000e04120}) /home/runner/work/spicedb/spicedb/internal/services/v1/errors.go:191 +0x45