question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CosmosDBTrigger: The value for StartFromTime attribute cannot be specified by using biding expression

See original GitHub issue

The value of StartFromTime attribute is used without being resolved thus it cannot be specified through config. Specifying the value of StartFromTime using biding expression (eg %StartFromTime%) with the actual value set in FunctionApp Configuration always throws an exception: The specified StartFromTime parameter is not in the correct format. Please use the ISO 8601 format with the UTC designator. For example: '2021-02-16T14:19:29Z'. (https://github.com/Azure/azure-webjobs-sdk-extensions/blob/dev/src/WebJobs.Extensions.CosmosDB/Trigger/CosmosDBTriggerListener.cs#L151)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
oionutcommented, Dec 22, 2021

@oionut What version of the extension are you using?

@ealsur 4.0.0-preview2

0reactions
oionutcommented, Dec 22, 2021

@oionut I sent a PR to add support for that Thank you @ealsur

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure Cosmos DB trigger for Functions 2.x and higher
This parameter is automatically set when the binding is created using the portal. LeaseContainerPrefix, (Optional) When set, the value is added ...
Read more >
CosmosDBTrigger not getting invoked when CosmosDB ...
When I comment out this [CosmosDB] DocumentClient binding (and anything that relies on it), the function is invoked. So I guess it's a...
Read more >
CosmosDB trigger 4.x fails to resolve trigger attributes ...
We're attempting to deploy the Azure function based Cosmos DB trigger to Kubernetes; it throws an exception and doesn't resolve the trigger ...
Read more >
Set Cosmos DB Trigger Connection String At Runtime
ConnectionStringSetting is a property on an attribute, so it must be a constant value (cannot be set to a variable value); The @Microsoft....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found