No se pudo crear el contenedor de cosmos db

Justin Hidalgo 1 Reputation point
2022-11-22T11:05:41.663+00:00

Message: {"code":"BadRequest","message":"Message: {\"Errors\":[\"A Partition key definition is not specified in the request.\"]}\r\nActivityId: 75378382-1345-481c-b838-5e5da613503b, Request URI: /apps/546441bf-a3fa-4fb1-8a6f-32fdfdb3f2ee/services/3b0c1a56-b575-4386-a244-dc70afb1890b/partitions/20b9b7a4-a06d-483a-a664-efc4f1628462/replicas/133135527020004057p, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0"}, Request URI: /dbs/SIA/colls, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0
ActivityId: 75378382-1345-481c-b838-5e5da613503e, Microsoft.Azure.Documents.Common/2.14.0 [SessionID: 8f86f2a6b38d4ee99cb6479e5d36c71f]

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,533 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Richard Lachira 10 Reputation points
    2023-01-23T16:02:10.47+00:00

    Hi dear,

    Thank you for trying help me, but i did this: I went to azure cosmos bd account and i created the container directly in azure cosmos BD account. As iot unica was created, in my case, I only did clic in new conatiner and followed the step default, choosed DB iotunica.

    User's image

    Later, I went to stream analyticis job, outputs, add cosmos db, i wrote output alias and chose database and container exisiting, finally save. Thanks

    User's image

    1 person found this answer helpful.

  2. Richard Lachira Zapata 0 Reputation points
    2023-01-16T10:53:15.93+00:00

    Hi dear, I have the same error when i want create a database in cosmos DB. I was reading about first create managment identity, I did it but I have the same error. I'm attachment three picture: error, settings before error, management identity.Please, help me. Thanks.

    chrome_bV1t4NRTot

    chrome_moOnUsLy4f

    chrome_aA5bZmg3sU

    chrome_moOnUsLy4f