Sanchit BajajOriginal post
Rank 2: Process
does anyone know what is this error mean? I am uploading a file into bucket and manually creating public URL for the image and storing it into database. I am getting this error on updating the document
JavaScript
const result = await db.updateDocument(dbName, usersCollection, userId, { bannerURL: image,});I am getting this image from other method and tested that I am getting the data in image variable
Summary
Developers are experiencing an issue with the updateDocument method. They are trying to upload an image to a bucket, create a public URL, and store it in a database. They are getting an error when updating the document. The code appears to be in order, but they are not able to copy as curl and are unsure how to proceed.