appsmith: [Bug]: CurrentBSONType Error: DOCUMENT instead of NULL in deploy mode

Is there an existing issue for this?

  • I have searched the existing issues

Description

Currently, a user has an insert query for MongoDB. When they execute this query in development mode, it works fine. However, in deploy mode, it fails with the error: Error while inserting resource! readStartDocument can only be called when CurrentBSONType is DOCUMENT, not when CurrentBSONType is NULL.

Performance: Appsmith.txt

Remember to change the file format to .json.

Steps To Reproduce

  1. Open the user’s application using the support account.
  2. Click on the large More button.
  3. Fill out the form and attach a couple of images.
  4. Click on Submit (You will notice that in edit mode you don’t have any errors, but in deploy mode, you do).

Public Sample App

https://app.appsmith.com/app/allyworkspaces/workspaces-63e254236b8ca42af5ad8a06?branch=master

Environment

Production

Issue video log

No response

Version

CLoud: Appsmith v1.9.25-SNAPSHOT

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 28 (14 by maintainers)

Most upvoted comments

Hey @incrediblezayed, we are still triaging the issue, please give us till next week and we will get back with resolution.

It has been 16 days, our clients are waiting can you guys please do it faster?

Hey @incrediblezayed, we are still triaging the issue, please give us till next week and we will get back with resolution.

Hello, any updates on this? We’re facing issues in production, please help asap. Thanks