I am using azure android SDK for adding new records into collection items. We don't have partition keys for our cosmos-DB. so I am passing as null for it.
it will give me the below error
partition key supplied in x-ms-partitionkey header has fewer components than defined in the collection.
Can anyone help me to come out of this?