- 
                Notifications
    You must be signed in to change notification settings 
- Fork 51
Open
Labels
bugcosmosEmulatorVnextPreviewissues raised for the vNext Linux based emulator (preview)issues raised for the vNext Linux based emulator (preview)
Milestone
Description
Describe the bug
Running transactional batch request returns 500 internal server error.
Is this part of known limitations and same as bulk execution? https://learn.microsoft.com/en-us/azure/cosmos-db/emulator-linux#limitations
To Reproduce
Example code used:
 var container = client.GetContainer("cosmosdb", "products");
 PartitionKey partitionKey = new("roadBikes");
var batch = container.CreateTransactionalBatch(partitionKey);
var bike = new Product
{
    id = "68719520766",
    category = "roadBikes",
};
batch.CreateItem(bike);
using TransactionalBatchResponse response = await batch.ExecuteAsync();This gives error
DocumentClientException with status code InternalServerError, message: {"code":"InternalServerError","message":"invalid byte sequence for encoding \u0022UTF8\u0022: 0x81"}
Expected behavior
Items created in database as expected and response successful.
Desktop (please complete the following information):
- OS: Mac OS M2
- Version mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:vnext-preview
- SDK 3.47.0
- SDK .NET
WojciechNagorski, adamzest, ernesto1596, IvanAlieksieienko, ReubenBond and 12 more
Metadata
Metadata
Assignees
Labels
bugcosmosEmulatorVnextPreviewissues raised for the vNext Linux based emulator (preview)issues raised for the vNext Linux based emulator (preview)
Type
Projects
Status
No status