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] AWS DocumentDB does not work with 1.14.0 - Not found for _id: ... #402
Comments
Hi, |
Firstly, thanks for answering so fast, I really appreciate it! So, if I understand you correctly, I should change the following code
to something like this
I will give it a try. But why does it work with MongoDB (in my local test database) and not with DocumentDB? |
So, I changed my code according to your recommendation and used the Settings class as proposed as:
I can confirm, that it works now with v1.15.0 and DocumentDB. I greatly appreciate your help! |
Nice! |
Hm, ok, I see. This would work in the test scenario, when the database was freshly built, so the table name would be "Stock" (capital S) instead of (stock). Is that what you mean? That might explain the CI/CD build success with the local db. But it also worked with my local dev db, which has already been created before (including tables and data) with the old settings (that means lower case letters for tables like "stock"). I mean, I do not think it is necessary to put much thought in here right now because it works now with the new and recommended settings. |
Hm, then it is weird. |
Awesome! I mean, ultimately, it was my fault not reading the release notes.
without version (and thus automatically fetch the latest version in CI/CD) was also not helpful in my case ;) |
Describe the bug
I noticed, that since I updated to beanie 1.14.0, my program does not work with AWS DocumentDB anymore.
This has not been a problem prior, and the same code works perfectly with 1.13.1
Additionally, the code works perfectly fine with 1.14.0 against the local MongoDB test database in version 5.0.10.
The error message is not very helpful, the requested resources can simply be not found (although they are there)
To verify, that the resource is there I use a tool like NoSQLBooster or Robo3T
To Reproduce
Expected behavior
I expected beanie 1.14.0 to work with AWS DocumentDB the same way as 1.13.1
Additional context
I am glad to provide further information, or I can make some tests against DocumentDB if someone can give me hints what to do.
The text was updated successfully, but these errors were encountered: