Write relationships rpc
# spicedb
c
Hi team, I’m getting this error when hitting the WriteRelationships endpoint in spicedb. I’m unsure about the root cause and haven’t seen any GH issues open about this error. Any help would be greatly appreciated. Thanks so much! (Error below) Unknown desc = unable to write relationships: ERROR: current transaction is aborted, commands ignored until end of transaction block (SQLSTATE 25P02)
@vroldanbet
v
is this self-hosted SpiceDB? if so, which datastore are you using?
c
It is self hosted spicedb and I use Postgres
Using the spicedb go client
j
are you writing the same relationships in the overlapping transactions?
c
I’m just writing the relationship once so I think nop
j
so one write call with a single relationship?
or many write calls with different relationshipsa?
c
This one was a one write call with a single relationship
v
is this an actual postgres or a derivative managed service?