Skip to content

Commit 1e5a056

Browse files
author
Matias Quaranta
committed
adding binding case
1 parent 261a9c7 commit 1e5a056

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/cosmos-db/troubleshoot-changefeed-functions.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ Additionally, the scenario can be validated, if you know how many Azure Function
8484

8585
One easy way to workaround this situation, is to apply a `LeaseCollectionPrefix/leaseCollectionPrefix` to your Function with a new/different value or, alternatively, test with a new leases container.
8686

87+
### Binding can only be done with IReadOnlyList<Document> or JArray
88+
89+
This error happens if your Azure Functions project (or any referenced project) contains a manual Nuget reference to the Azure Cosmos DB SDK with a different version that the one provided by the [Azure Functions Cosmos DB Extension](./troubleshoot-changefeed-functions.md#dependencies).
90+
91+
To workaround this situation, remove the manual Nuget reference that was added and let the Azure Cosmos DB SDK reference resolve through the Azure Functions Cosmos DB Extension package.
92+
8793
## Next steps
8894

8995
* [Enable monitoring for your Azure Functions](../azure-functions/functions-monitoring.md)

0 commit comments

Comments
 (0)