I have a third party application connecting to the public cloud Business Central API.
We are sending journal lines to the $batch endpoint. For most customers it runs fine, but we have a customer which gets this error:
{/responses/:[{/id/:null,/status/:400,/headers/:{/content-type/:/application/json/,/content-length/:/240/}, /body/ :{/error/:{/code/:/Application_DialogException/,/message/:/The dimension set line already exists. Check existing dimension set lines and the default dimension set lines on the parent. CorrelationId: 669fee9a-9440-4a97-ba6f-77dd185bxxxx./}}}]}
Most of the data for the dimension set lines looks like this:
/dimensionSetLines/:[{/code/:/DEP/,/valueCode/:/SALES/}]
I cant find any documentation about this error, and I have a hard time trying to reproduce.
Can somebody enlighten me?