Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: When a collection is already created it panics with nil pointer dereference error #26

Open
2 tasks done
Angryman18 opened this issue Jan 11, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Angryman18
Copy link

👟 Reproduction steps

Error is coming from the CreateCollection method. (Line no 42)
If the collection already exists it panics. if i delete the collection then it creates for the first server run and goes well. next server run fails again as it tries to re-create the collection. suggestions?
Image

Image

👍 Expected behavior

It shouldn't give me this error

👎 Actual Behavior

It should have run fine without any complaint. If the collection is already created it should give error or it should try to create it again but it shouldn't panic.

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Windows

🧱 Your Environment

using the latest github.com/appwrite/sdk-for-go version

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@Angryman18 Angryman18 added the bug Something isn't working label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant