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...
Suggested Answer

Visual Studio Code - Error

(1) ShareShare
ReportReport
Posted on by 4
Hi,
 
We are using Business Central in the company and I am trying to learn AL to extend some pages in our Cloud Business Central.
 
I have BC essentials license, downloaded Visual Studio Code and installed AL extension. When I select create new project (using AL GO command), I get the following error despite authenticating the login. Could someone please help? I have been trying to find an answer to these but I cannot find anything relating to the errors I get. Seems like a pretty bad start to the developing journey.
 
[2024-08-07 08:53:57.89] Using reference symbols cache paths: [c:\Users\damian.kus\Documents\AL\ALProject1\.alpackages]
[2024-08-07 08:53:57.91] Sending request to https://api.businesscentral.dynamics.com/v2.0/sandbox/dev/metadata
[2024-08-07 08:53:58.43] Error: An error occured while processing the request.
Request ID: d4373d0b-7950-472a-93dc-dd5ebdcebf37
Session ID: 232b1448-518f-4c03-a063-ad7ec2337055
 
If you are targeting a cloud instance, supply these IDs if contacting Microsoft support.
[2024-08-07 08:53:58.43] The request for path /v2.0/sandbox/dev/metadata failed with code InternalServerError. Reason: Internal Server Error
[2024-08-07 08:53:58.44] Sending request to https://api.businesscentral.dynamics.com/v2.0/sandbox/dev/metadata
[2024-08-07 08:53:58.95] Error: An error occured while processing the request.
Request ID: 10e831ba-3c05-4800-a186-2db63960888d
Session ID: 232b1448-518f-4c03-a063-ad7ec2337055
 
If you are targeting a cloud instance, supply these IDs if contacting Microsoft support.
[2024-08-07 08:53:58.95] The request for path /v2.0/sandbox/dev/metadata failed with code InternalServerError. Reason: Internal Server Error
Microsoft (R) AL Compiler version 13.1.16.16524
Copyright (C) Microsoft Corporation. All rights reserved
 
Compilation started for project 'ALProject1' containing '1' files at '08:53:58.958'.
 
error AL1022: A package with publisher 'Microsoft', name 'Application', and a version compatible with '24.0.0.0' could not be found in the package cache folders: c:\Users\damian.kus\Documents\AL\ALProject1\.alpackages
error AL1022: A package with publisher 'Microsoft', name 'System', and a version compatible with '1.0.0.0' could not be found in the package cache folders: c:\Users\damian.kus\Documents\AL\ALProject1\.alpackages
 
Compilation ended at '08:53:58.960'.
 
Error: The package could not be created.
I have the same question (0)
  • Gerardo Rentería García Profile Picture
    25,157 Most Valuable Professional on at
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,275 Super User 2025 Season 2 on at
    Clear the cache, check the sandbox name in the launch.json file to ensure you've selected the correct sandbox, and verify the .app file and the downloaded symbols. Perform these steps and feel free to share the output.


    ​​​​​​​
  • Daudi Profile Picture
    6 on at
    Hi,
     
    Kindly check the  launch.json  file configuration, ensure the environment is not linked to Production and the the name should be similar to your cloud sandbox.
  • Suggested answer
    Vahid Ghafarpour Profile Picture
    12,090 Super User 2025 Season 2 on at
    Sometimes, clearing the cache can help. Delete the contents of the .alpackages folder and try downloading the symbols again.
     
    Be sure to environment setting in the launch.json file.

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 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans