Hello,
We have already connected to the Document DB cluster, we have also succeded uploading a file to documentDB through Application Frontend Interface, the issue comes when we tried to get that uploaded file from DocumentDB, Note: We’re using DocumentDB 4.0 we already tested it with 3.6 same issue "Query failed with error code 2 and error message ‘Bad value’ on server please note that we got error 500.
. We’re using only the primary instance without reader.
We have tested our application using MongoDB (version 6.0 and 4.0) installed directly in EC2 machine, we didn’t get the same issue and it worked well for us.
here is the query used by the GET API which returns the error sent previously => “@Query(”{'folder.id ’ : :#{#id}, ‘idEmployee’ : :#{#idEmployee}}“) List findFileByFolderAndEmployee(@Param(“id”) String id, @Param(“idEmployee”) long idEmployee);”
Do you have any ideas about possible causes?
Thanks