Issue Updating a Document (MongoDB)

A trigger I am using is providing keyword to search an existing MongoDB collection for the associated Object Id to update. I pass this Id over to update an existing document and despite being a valid document id. It says the “Document could not be found”. The version of MongoDB I am utilizing is Microsoft’s Cosmos DB version of MongoDB which I anticipate may be contributing to the issue. On other examples I have seen here I see the variable take from a search fed into an update module with no issues. This is exactly what I am doing. Any help would be greatly appreciated as attempting to send a support ticket is impossible as MongoDB doesnt appear as an option when searched.

This is the valid Id as seen in the data explorer in Cosmos DB.

image

Here is the configuration for the update module.

image

This is the configuration for the search document module

image