[STORAGE] PUT. Reports 201 success with a 50 records payload but actually fails
Description While issuing following request 50_records_payload.json, the storage service returns a 201 with records and versions STORAGE_201_put_records.json.
But when trying to fecth the records they are not created/updated.
Looking at the logs Storage_LOG_50_records.txt, it seems the service is reaching this line https://community.opengroup.org/osdu/platform/system/lib/cloud/azure/os-core-lib-azure/-/blob/1bddde80718274e34a36aee673092bf20526f5aa/src/main/java/org/opengroup/osdu/azure/cosmosdb/CosmosStoreBulkOperations.java#L124
Expected behavior Two behaviors are expected
- Payload with 50 records should not fail
- If for any reason the request fail, the error should be propagated back and return error instead of 201.