microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
718 stars 242 forks source link

Unbound Action completes but request still runs into a timeout #7777

Closed ChrisChristophers closed 1 week ago

ChrisChristophers commented 1 week ago

1. Describe the bug

When consuming the UnboundAction via POST request Business Central fails to deliver the following payload.

UnboundAction.json

2. To Reproduce Create an Unbound Action as demonstrated in the following picture: (Read the payload from the attached file UnboundAction.json into a jsonObject and write it into the outputtext) image Consume the API e.g. with Postman/KeyRunner etc.

3. Expected behavior The request should be completed without issues 4. Actual behavior

image

While the code within the UnboundAction executes with no issues and the request even returns a Status 200 according to requesting party , the request runs into a timeout.

It is worthy to mention, that if i remove 4 fields ( doesn't matter which ones) from contractLines so the total field count is 74 the request completes without issues

image

5. Versions:

wbor-nvt commented 1 week ago

Running into the same issue.

Testing API's via Postman on a BC24 environment in a local Docker Container on Windows 10. It appears easy to reproduce by calling the $metadata api.

This has made testing of api's very difficult, hoping for a fix for this problem.

BazookaMusic commented 1 week ago

Hi, this issue is out of scope of for this repository. You should do one of the following:

Open a support request to CSS through the PartnerSource portal Open a bug in Collaborate Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

As a reminder, this repository only handles issues to do with the compiler or VSCode development experience for AL.

BazookaMusic commented 1 week ago

Also feel free to post this on yammer, it seems to be an issue with the runtime and this repo does not track these issues