I’m attempting to write to the storage, but consistently encounter the following error:
“rpc error: code = Internal desc = Error writing storage objects.”
Here’s the code I’ve been using:
{
"objects": [
{
"collection": "P",
"key": "p2",
"value": "{\n \"address\": \"1\"\n}",
"permissionRead": 1,
"permissionWrite": 0
}
]
}
However, when I append version:"*"
to the code, the write operation succeeds. Yet, this introduces a new problem. When I try to read from the database, the server throws the following error:
“Could not read storage objects.”,“error”:“cannot convert [p] to Text”
Any insights on resolving this would be much appreciated.