Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Business Central forum
Under review by Community Managers

Under review

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

Error API BC : A transaction must be started before changes can be made to the database.

Posted on by
Hello,
I'm working on a soap API integration. 
I can easily create a Sales Quote but then I would like to modify it multiple times to add a SQ line each time. First time it seems to work but then I can't either write nor read the SQ. 
 
The returned error is : 
<s:Envelope xmlns:s=/http://schemas.xmlsoap.org/soap/envelope//><s:Body><s:Fault><faultcode xmlns:a=/urn:microsoft-dynamics-schemas/error/>a:Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException</faultcode><faultstring xml:lang=/en-US/>A transaction must be started before changes can be made to the database.</faultstring><detail><string xmlns=/http://schemas.microsoft.com/2003/10/Serialization//>
 
Any idea why is that? Do I have to commit the changes I push through API ? How to do so ? 
 
Environment is on premise and Version: BE Business Central 19.5 
 
Thanks
Categories:

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans