BC16: Download symbols

guilliano
Member Posts: 5
Hello,
I want to test my development in the new BC16 in a sandbox but when I get this error when I try to download the symbols:
[2020-05-20 09:34:37.53] Using reference symbols cache path: c:\Users\xx\Documents\AL\ALProject1\./.alpackages
[2020-05-20 09:34:37.57] Authenticating...
[2020-05-20 09:34:38.10] Authenticated.
[2020-05-20 09:34:38.11] Authenticated as user 'xxxx'. Please note that these credentials are cached. Clear the credentials cache to authenticate as another user.
[2020-05-20 09:34:38.11] Targeting Dynamics 365 Business Central.
[2020-05-20 09:34:38.11] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=16.0.0.0
[2020-05-20 09:34:38.11] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System Application&versionText=16.0.0.0
[2020-05-20 09:34:38.11] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Base Application&versionText=16.0.0.0
[2020-05-20 09:34:38.32] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Base%20Application&versionText=16.0.0.0 failed with code BadRequest. Reason: Bad Request
[2020-05-20 09:34:38.34] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System%20Application&versionText=16.0.0.0 failed with code BadRequest. Reason: Bad Request
[2020-05-20 09:34:38.88] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=16.0.0.0 failed with code BadRequest. Reason: Bad Request
[2020-05-20 09:34:38.89] 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.
Launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "Microsoft cloud sandbox",
"startupObjectId": 22,
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true
}
]
}
app.json
{
"id": "8fd48ca2-3c04-41a6-82b9-ccc893307aab",
"name": "ALProject1",
"publisher": "Default publisher",
"version": "1.0.0.0",
"brief": "",
"description": "",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"dependencies": [
{
"id": "63ca2fa4-4f03-4f2b-a480-172fef340d3f",
"publisher": "Microsoft",
"name": "System Application",
"version": "16.0.0.0"
},
{
"id": "437dbf0e-84ff-417a-965d-ed2bb9650972",
"publisher": "Microsoft",
"name": "Base Application",
"version": "16.0.0.0"
}
],
"screenshots": [],
"platform": "16.0.0.0",
"idRanges": [
{
"from": 50100,
"to": 50149
}
],
"contextSensitiveHelpUrl": "https://ALProject1.com/help/",
"showMyCode": true,
"runtime": "5.0"
}
I want to test my development in the new BC16 in a sandbox but when I get this error when I try to download the symbols:
[2020-05-20 09:34:37.53] Using reference symbols cache path: c:\Users\xx\Documents\AL\ALProject1\./.alpackages
[2020-05-20 09:34:37.57] Authenticating...
[2020-05-20 09:34:38.10] Authenticated.
[2020-05-20 09:34:38.11] Authenticated as user 'xxxx'. Please note that these credentials are cached. Clear the credentials cache to authenticate as another user.
[2020-05-20 09:34:38.11] Targeting Dynamics 365 Business Central.
[2020-05-20 09:34:38.11] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=16.0.0.0
[2020-05-20 09:34:38.11] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System Application&versionText=16.0.0.0
[2020-05-20 09:34:38.11] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Base Application&versionText=16.0.0.0
[2020-05-20 09:34:38.32] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Base%20Application&versionText=16.0.0.0 failed with code BadRequest. Reason: Bad Request
[2020-05-20 09:34:38.34] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System%20Application&versionText=16.0.0.0 failed with code BadRequest. Reason: Bad Request
[2020-05-20 09:34:38.88] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=16.0.0.0 failed with code BadRequest. Reason: Bad Request
[2020-05-20 09:34:38.89] 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.
Launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "Microsoft cloud sandbox",
"startupObjectId": 22,
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true
}
]
}
app.json
{
"id": "8fd48ca2-3c04-41a6-82b9-ccc893307aab",
"name": "ALProject1",
"publisher": "Default publisher",
"version": "1.0.0.0",
"brief": "",
"description": "",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"dependencies": [
{
"id": "63ca2fa4-4f03-4f2b-a480-172fef340d3f",
"publisher": "Microsoft",
"name": "System Application",
"version": "16.0.0.0"
},
{
"id": "437dbf0e-84ff-417a-965d-ed2bb9650972",
"publisher": "Microsoft",
"name": "Base Application",
"version": "16.0.0.0"
}
],
"screenshots": [],
"platform": "16.0.0.0",
"idRanges": [
{
"from": 50100,
"to": 50149
}
],
"contextSensitiveHelpUrl": "https://ALProject1.com/help/",
"showMyCode": true,
"runtime": "5.0"
}
0
Answers
-
Clear your cached credentials in VSC so that it will prompt you again. Probably just a wrong password.Kyle Hardin - ArcherPoint0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions