Skip to content

Commit ec27027

Browse files
authored
Merge pull request #78636 from ealsur/users/ealsur/troubleshootbinding
Adding case to Cosmos DB Troubleshooting
2 parents c5fe7ae + f92c596 commit ec27027

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 than 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)