Closed ByYogi closed 3 months ago
I also get an error when I use the README example.
B1SLayer.SLException: 'Content ID should be specified in each change set request.'
Hi, @ByYogi.
When using OData V4 protocol (indicated by the 'v2' in your Service Layer URL), you are required to specify the content ID in all requests within a batch, even if you don't use it. Check the Service Layer User Manual regarding this topic.
Try changing your URL to 'v1' or specify the content ID in each request object (optional constructor parameter for the SLBatchRequest class).
"Incomplete request, Please check if the sub-request has complete request content and there should be two '\r\n' between sub-request header and content!"