Skip to content

Commit 4921e91

Browse files
committed
note
1 parent 00bc5da commit 4921e91

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Troubleshoot issues when using Azure Functions trigger for Cosmos DB
33
description: Common issues, workarounds, and diagnostic steps, when using the Azure Functions trigger for Cosmos DB
44
author: ealsur
55
ms.service: cosmos-db
6-
ms.date: 07/17/2019
6+
ms.date:03/13/2020
77
ms.author: maquaran
88
ms.topic: troubleshooting
99
ms.reviewer: sngun
@@ -47,6 +47,10 @@ This means that either one or both of the Azure Cosmos containers required for t
4747

4848
The previous versions of the Azure Cosmos DB Extension did not support using a leases container that was created within a [shared throughput database](./set-throughput.md#set-throughput-on-a-database). To resolve this issue, update the [Microsoft.Azure.WebJobs.Extensions.CosmosDB](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.CosmosDB) extension to get the latest version.
4949

50+
### Azure Function fails to start with "PartitionKey must be supplied for this operation."
51+
52+
This error means that you are currently using a partitioned lease collection with an old [extension dependency](#dependencies). You need to upgrade to the latest available version. If you are currently running on Azure Functions V1, you will need to upgrade to Azure Functions V2.
53+
5054
### Azure Function fails to start with "The lease collection, if partitioned, must have partition key equal to id."
5155

5256
This error means that your current leases container is partitioned, but the partition key path is not `/id`. To resolve this issue, you need to recreate the leases container with `/id` as the partition key.

0 commit comments

Comments
 (0)