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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Internal Server Error while connecting to BC via Visual Studio Code

(1) ShareShare
ReportReport
Posted on by 2
Hello, 
 
I'm trying to connect to Business Central online in Visual Studio Code in order to create queries, but I encounter an error:
 
If you are targeting a cloud instance, supply these IDs if contacting Microsoft support.
[2023-11-23 14:01:48.47] The request for path /v2.0/Production/dev/metadata?tenant=00000000-0000-0000-0000-000000000000 failed with code InternalServerError. Reason: Internal Server Error
[2023-11-23 14:01:48.59] Sending request to https:/api.businesscentral.dynamics.com/v2.0/Production/dev/metadata?tenant=00000000-0000-0000-0000-000000000000
[2023-11-23 14:02:10.58] Error: An error occured while processing the request.
Request ID: 00000000-0000-0000-0000-000000000000
Session ID: 00000000-0000-0000-0000-000000000000
 
If you are targeting a cloud instance, supply these IDs if contacting Microsoft support.
[2023-11-23 14:02:10.58] The request for path /v2.0/Production/dev/metadata?tenant=00000000-0000-0000-0000-000000000000 failed with code InternalServerError. Reason: Internal Server Error
 
I have followed multiple tips, but still getting the same errors while trying to download symbols.
 
Steps taken:
1. VSC: AL: Go!
2. Creating a project
3. Logging into BC with my user credentials
4. Trying to download symbols
ERROR
 
I'd appreciate any help.
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    98,803 Super User 2026 Season 1 on at
    Hi, Looks like you're connecting to production? Apart from Snapshot Debugging, we cannot directly access the production environment from VS Code. Please modify it to the Sandbox and try again.
     
    Launch.json:
     
    Hope this helps.
    Thanks.
    ZHU
  • Community member Profile Picture
    2 on at
    Hi YUN ZHU,
     
    I have changed to Sandbox and still cannot connect:
     
    Information om dina behörigheter finns på sidan Gällande behörigheter. Om du vill rapportera ett problem hänvisar du till följande serversessions-ID: 219574.
    [2023-11-24 10:31:52.74] The request for path /v2.0/sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=23.0.0.0&appId=00000000-0000-0000-0000-000000000000 failed with code Forbidden. Reason: Din licens ger dig inte följande behörigheter i TableData 2000000206 Published Application Publicerad app: IndirectRead för företaget CRONUS SE.
     
    Information om dina behörigheter finns på sidan Gällande behörigheter. Om du vill rapportera ett problem hänvisar du till följande serversessions-ID: 219575.
    [2023-11-24 10:31:52.75] Could not download reference symbols. Please ensure that:
    1. The correct server name and instance are specified in the launch.json file.
    2. The correct application version is specified in the app.json file.
    3. The dependencies are correctly specified in the app.json file.
     
    Which in translation means:
     
    Information about your permissions can be found on the Applicable Permissions page. To report a problem, please refer to the following server session ID: 219574.
    [2023-11-24 10:31:52.74] The request for path /v2.0/sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=23.0.0.0&appId=00000000-0000-0000-0000-000000000000 failed with code Forbidden. Reason: Your license does not give you the following permissions in TableData 2000000206 Published Application Published app: IndirectRead for the company CRONUS SE.
    Information about your permissions can be found on the Applicable Permissions page. To report a problem, please refer to the following server session ID: 219575.
    [2023-11-24 10:31:52.75] Could not download reference symbols. Please ensure that:
    1. The correct server name and instance are specified in the launch.json file.
    2. The correct application version is specified in the app.json file.
    3. The dependencies are correctly specified in the app.json file.
     
    These are permissions my user has:
     
    Does it mean I should have different permissions? 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,747 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,016 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 506 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans