docs icon indicating copy to clipboard operation
docs copied to clipboard

Mention the need to possibly upgrade SDKs

Open zwarag opened this issue 3 years ago • 3 comments

zwarag avatar Jun 30 '22 22:06 zwarag

Hi Appwrite Team. After the upgrade from 0.14.2 to 0.15.1, I got a strange error in my devconsole [1] and got stuck a little. Drake helped me out and with his help I figured that I just needed to upgrade the SDK, as I still was using the npm version 8.0.1. So as a little thank you, I created this PR. It's not much but, maybe a little help for other users :)

[1] image

PS: I'm putting the actual error message here so google can find it.

ERROR AppwriteException: User (role: member) missing scope (collections.read)

zwarag avatar Jun 30 '22 22:06 zwarag

ERROR AppwriteException: User (role: member) missing scope (collections.read)

Actually, this particular error was due to a bug in Appwrite which should be resolved as of Appwrite version 0.15.2.

There's also another bug you'll face if you haven't upgraded your SDK. The fix for this bug is currently waiting for release.

stnguyen90 avatar Jul 15 '22 21:07 stnguyen90

Also, ideally, there shouldn't be a need to upgrade your SDKs right away. They should be backwards compatible (at least for 1 version).

stnguyen90 avatar Jul 15 '22 21:07 stnguyen90