Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Unable to Publish app from Visual Studio Code for BC20

Posted on by 15

I'm able to download the symbols and build the app for Version: US Business Central 20.0 (Platform 20.0.37114.38150 + Application 20.0.37253.38230) - OnPrem.

But, when I'm trying to publish the app from Visual Studio Code, I'm getting the below error,

The request for path /BC200/dev/apps?tenant=default&SchemaUpdateMode=synchronize&DependencyPublishingOption=default failed with code UnprocessableEntity. Reason: An unexpected error occurred after a database command was cancelled.

pastedimage1656323179068v1.png

Categories:
  • Anirudh20 Profile Picture
    Anirudh20 15 on at
    RE: Unable to Publish app from Visual Studio Code for BC20

    Hi Inge M. Bruvik,

    No, there is no code which is executed during the install.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    RE: Unable to Publish app from Visual Studio Code for BC20

    Do you have any code that is executed during the install?

  • Anirudh20 Profile Picture
    Anirudh20 15 on at
    RE: Unable to Publish app from Visual Studio Code for BC20

    Hi Nitin,

    Yes, I did check permissions and also uploaded the correct license file. I'm working on BC20 Onprem version.

  • Nitin Verma Profile Picture
    Nitin Verma 21,023 Moderator on at
    RE: Unable to Publish app from Visual Studio Code for BC20

    Hi Anirudh20 ,

    Please check if you have proper permission to publish the extension and you defined the Tenant ID in your APP.json file, also please refer the below link

    community.dynamics.com/.../extension-publish-error-failed-with-code-unprocessableentity

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,537 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans