BC16: Download symbols

guillianoguilliano 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"
}

Answers

  • kylehardinkylehardin Member Posts: 257
    Clear your cached credentials in VSC so that it will prompt you again. Probably just a wrong password.
    Kyle Hardin - ArcherPoint
Sign In or Register to comment.