
Hi Supports of Dynamics 365,
We published our extension to our local container running insider image (US Business Central 17.1 (Platform 17.0.16734.0 Application 17.1.16741.0)) to check compatibility,
when we tried to access both our own web services and BC original web services by postman, we got errors as:
{
"error": {
"code": "Unknown",
"message": "Sequence contains no matching element CorrelationId: c4e6aabd-8069-4a65-8cd4-4b07f1585dd0."
}
}
and when we tried to access APIs we defined in the extension, we got another error as:
{
"error": {
"code": "Unknown",
"message": "Sequence contains more than one matching element CorrelationId: 05860099-62f0-471f-b45c-744a271e9d51."
}
}
But everything went well and functional when we uninstall and unpublish our extension from the container.
Here is our app.json as reference:
{
"id": "XXX",
"name": "XXX",
"publisher": "XXX",
"brief": "XXX",
"description": "XXX",
"version": "XXX",
"privacyStatement": "XXX",
"EULA": "XXX",
"help": "XXX",
"url": "XXX",
"logo": "TC-icon-166x166.png",
"contextSensitiveHelpUrl": "https://MicrosoftDynamics365BChelp.truecommerce.com",
"application": "17.0.0.0",
"dependencies": [],
"screenshots": [],
"platform": "17.0.0.0",
"features":
["TranslationFile"],
"idRanges": [{
"from": 70203500,
"to": 70203824
}],
"runtime": "6.0"
}
We are wondering if there could be something wrong with the app.json's config,
or if there were some special settings we missed which could cause this Web Service & API Failure?
Another thing is that, there are a huge numbers of warnings in code as:
Use of implicit 'with' will be removed in the future. Qualify with 'Rec.'. This warning will become an error in a future release.AL(AL0604)
We have no idea what this warning is about,
so we are wondering if we need to resolve these warnings on our side, or if this could be something wrong with the AL Language Extension?
And we did not see these warnings when we built our extension for BCV16.
(The AL Language Extension in VS Code we are using is on v6.0.335379.)
Thanks a lot!
Craig