Open
Description
Link to reproduction
No response
Describe the Bug
When calling a rest endpoint with a limit higher then 101 and more then 101 results, DocumentDB throws the following error:
MongoServerError: Feature not supported: cursor within transaction. Try increasing the batchsize
This seems to be causes by a limitation of Documentdb
To Reproduce
- Add more then 101 items to a collection
- Open de admin interface and copy a collection view rest api call
- Up the limit to 102 and the api call will return an 500 error
{"errors":[{"message":"Something went wrong."}]}
Payload Version
2.3.1
Adapters and Plugins
@payloadcms/db-mongodb