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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

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 1,857 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,047 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans