Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

Power Automate: create/update record Internal_ServerError

Posted on by 28
Hi all,
 
I am trying to update and create records for the G/L Account with Power Automate.
Unfortunately I have stumbled upon an error which I did not succeed in fixing yet.
 
When I want to update the G/L Account row I get the following error:
  "message""ErrorCode: Internal_ServerError  Account Type must not be Posting in G/L Account No.='00001'.  CorrelationId: "",
 
This does not make sense because in BC we want the record to have type Posting. 
The weird thing is that the developers can post and patch all they want within Postman or something but via Power Automate
we stumble upon these errors. 
I have tried making the whole flow from scratch again already.
 
  • Verified answer
    maltie Profile Picture
    maltie 28 on at
    Power Automate: create/update record Internal_ServerError
    I have fixed the issue.
    Global dimension 1 code, global dimension 2 code and totaling should be empty.
  • maltie Profile Picture
    maltie 28 on at
    Power Automate: create/update record Internal_ServerError
    @YUN ZHU I have tried pushing it with 0 instead of Posting but I get the same error unfortunately
  • Suggested answer
    JohnWong Profile Picture
    JohnWong 17 on at
    Power Automate: create/update record Internal_ServerError
    Hi,
     
    Can you check your Account Type is referring to G/L Account Type? The value is integer if you want to choose the G/L Account Type.
     
    Thanks.
    John. 
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 63,857 Super User on at
    Power Automate: create/update record Internal_ServerError
    It seems to be a problem with the Account Type. The system cannot match "Posting" with the Enum type 0.
    Try changing this value to 0.
     
    I have seen the same error before in Configuration Package.
     
    Hope this helps.
    Thanks.
    ZHU

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans