CosmosDB NodeJS SDK query Timeout

Jason Ortiz 1 Reputation point
2020-06-24T19:49:01.583+00:00

Hello,

I am having an issue with a timeout using the Cosmos NodeJS SDK within an async Azure function (HTTP Trigger). I followed the tutorial found here to build the same example. Is this an issue with the async flow or the Cosmos connection? My code is a copy and paste of that example with my own database configs of course.

For the life of me I cannot figure out how to post my code here without getting the WAF error mentioned in the Announcements. IF anyone knows how to fix that, I will post my code snipped as a follow up.

Please Note: I cannot use an input binding as the parameters for the query I am trying to perform are determined dynamically by the function itself and not passed in as an HTTP request parameter.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,572 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,520 questions
{count} votes