I configured Azure Stream Analytics to send my messages to DocumentDB (CosmosDB). This was working fine. But when I switched to DocumentDB with MongoDB API I run into a connection error. This error is raised when I send a message, so my stream was running till it got a message.
Message: Could not initialize connection to DocumentDB database [PdM-DocumentDB-002] collection [devicedata].
What could be the problem here?