The request for path /v1.0/sandbox/dev/apps?SchemaUpdateMode=recreate failed with code 422. Reason: There is an error in XML document (1, 1488)
Describe the bug The request for path /v1.0/sandbox/dev/apps?SchemaUpdateMode=recreate failed with code 422. Reason: There is an error in XML document (1, 1488)
This is a result when publishing to the Cloud Sandbox. Does not say which XML file.
Added two new tables into Tenant Specific Extension after which this error resulted. Compiler shows no errors.
Looked similar error in GitHub - but it indicated problem was SourceTableView. I checked and had no similar code problem.
To Reproduce Steps and/or AL code to reproduce the behavior:
- Publish to Cloud Sandbox
Expected behavior Expect to publish and run cloud sandbox in the web.
Screenshots If applicable, add screenshots to help explain your problem.
Versions:
- AL Langauge: 2.1.79379
- Business Central: 13.3 (28186)
Hi @tfbtrading, Can you provide some AL that reproduces the problem?
I actually discerned the problem although the error wasn't informative. It was using a importance=optional rather than additional in a field definition.
It confused because I have other products with the indirect nav table permissions if I'm trying to deploy against a cloud sandbox copies from production. Al deployment only works against the pre-canned sandbox.
Get Outlook for iOShttps://aka.ms/o0ukef
From: Thomas Pedersen [email protected] Sent: Tuesday, February 26, 2019 2:51 am To: Microsoft/AL Cc: Russell Kallman; Mention Subject: Re: [Microsoft/AL] The request for path /v1.0/sandbox/dev/apps?SchemaUpdateMode=recreate failed with code 422. Reason: There is an error in XML document (1, 1488) (#4648)
Hi @tfbtradinghttps://github.com/tfbtrading, Can you provide some AL that reproduces the problem?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/AL/issues/4648#issuecomment-467063544, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AooDXvASCAyJofemey1Uj2oxLeesL87Mks5vRAZtgaJpZM4bOTBj.
I'm marking this as a bug, because we want to improve the error messages you saw. Regarding the issue you had with the property importance, starting from spring 2019 it is not allowed to use optional anymore since the system didn't act on it.