Closed yokawasa closed 5 years ago
Hit the same when we started a new project today.
Are you using database level scaling? It seems to require partition key to all collections, and as a wild guess based on this:
...partitioned lease collection is not supported yet?
At least when I tested with collection level scaling, everything works.
@essu72 Thanks for the info! I tried with single-partition lease collection, and I confirmed that it worked. Looks like partitioned lease collection is not supported.
...and this is not only local dev problem but a generic trigger problem. Next question is - when will it be supported :)
A PR is underway. Issue can be closed as it's not related to the core tools.
@JohnReeson Thanks for the info! As advised, let me go ahead to close this issue
Cosmos DB Trigger was unable to start locally. Here is an error mesage
According to the error, PartitionKey isn't supplied but the collection that I configure to use for this function has a partition key.
Environment info
2.2.32
3.6.5
function.json
console output in starting functions:
Cosmos DB