Write and read to storage issue

Hi
After upgrade nakama from 1.16.0 to 1.19.0 I have an issue when i try to write and read file in storage.
After write without errors I can’t read this file.
StorageRead return error “can’t read object to storage: cannot convert [Collection] to Text”

	storageDataWrite := []*runtime.StorageWrite{{
		Collection: "Collection",
		Key:        "Key",
		UserID:     "00000000-0000-0000-0000-000000000000",
		Value:      "{}",
	}}

	if _, err := nk.StorageWrite(ctx, storageDataWrite); err != nil {
		return errors.New("can't write object to storage: " + err.Error())
	}

	storageDataRead := []*runtime.StorageRead{{
		Collection: "Collection",
		Key:        "Key",
		UserID:    "00000000-0000-0000-0000-000000000000",
	}}

	if _, err := nk.StorageRead(ctx, storageDataRead); err != nil {
		return errors.New("can't read object to storage: " + err.Error())
	}
1 Like

Please ensure you have the most up to date cockroachDB version

1 Like

Thanks, it’s helped!