Skip to main content

Notifications

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)

(4) ShareShare
ReportReport
Posted on by 3,301

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.

  • Verified answer
    Sohail Ahmed Profile Picture
    3,301 on at
    Intermittent "Failed" Error on Action Button in Business Central (Custom Sync Integration)
    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!
  • Suggested answer
    KP - Solution Architect Technical Profile Picture
    528 on at
    Intermittent "Failed" Error on Action Button in Business Central (Custom Sync Integration)
    Hi
     
    Check if any permissions need to be assigned.
     
    Thanks,
    KP
  • Verified answer
    YUN ZHU Profile Picture
    84,337 Super User 2025 Season 1 on at
    Intermittent "Failed" Error on Action Button in Business Central (Custom Sync Integration)
    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
  • André Arnaud de Calavon Profile Picture
    295,304 Super User 2025 Season 1 on at
    Intermittent "Failed" Error on Action Button in Business Central (Custom Sync Integration)
    Moved the question from the Dynamics 365 General to the Dynamics 365 Business Central forum.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans