web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

The dimension set line already exists - when sending journal lines with refs to dimension set lines

(1) ShareShare
ReportReport
Posted on by 7
Hi all.

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?
I have the same question (0)
  • Verified answer
    Community member Profile Picture
    7 on at
    It seems to be because of default dimension(s) being added to the journal line before manually adding the dimension set lines. It works when not adding the dimension set lines.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,072

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,234

#3
YUN ZHU Profile Picture

YUN ZHU 1,029 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans