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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Intermittent "Failed" Error on Action Button in Business Central (Custom Sync Integration)

(5) ShareShare
ReportReport
Posted on by 11,150 Super User 2025 Season 2

Hi everyone,

I’m facing an intermittent issue in Business Central when clicking a custom Action button to sync orders from a third-party system.

Initially, it fails with the following message:

 

If requesting support, please provide the following details to help troubleshooting:

Error message:
Failed

Internal session ID:
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Application Insights session ID:
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Client activity ID:
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Timestamp:
2025-05-15T10:00:18.0161847Z

User telemetry ID:
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

AL Call Stack:
"SaleOrderLine ResponseHandler" (CodeUnit 60108).AmazonOrderFeeCalculator line 36 - xxx by Default Publisher

 

What’s strange is that the same request works perfectly fine in another entity, and even in the entity where it was failing, it starts working again after some time without any code or data changes.

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,109 Super User 2025 Season 2 on at
    Moved the question from the Dynamics 365 General to the Dynamics 365 Business Central forum.
  • Verified answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at
    It seems to be a code problem. Since it is not a standard issue, it is recommended to solve it with your partner.
     
    Thanks.
    ZHU
  • Suggested answer
    KP - Solution Architect Technical Profile Picture
    658 on at
    Hi
     
    Check if any permissions need to be assigned.
     
    Thanks,
    KP
  • Verified answer
    Sohail Ahmed Profile Picture
    11,150 Super User 2025 Season 2 on at
    Thank you all for your valuable input. I’ve found the issue — after hours of debugging, it turned out the culprit was in my own AL code, not a standard Business Central error. Glad to have it resolved!

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans