All Collections
Business System Integrations
Dynamics 365 Business Central
Errors
Dynamics 365 Business Central - [ERROR] Request URL Too Long
Dynamics 365 Business Central - [ERROR] Request URL Too Long
Micah A. Parker avatar
Written by Micah A. Parker
Updated over a week ago

Product: Dynamics 365 Business Central

Error: <HTML><HEAD><TITLE>Request URL Too Long</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Request URL Too Long</h2>
<hr><p>HTTP Error 414. The request URL is too long.</p>
</BODY></HTML>

Alt. Error: Error parsing NaN value. Path '', line 1, position 1.


Issue: When exporting out a very large Purchase Order (850) or other inbound transaction from Transaction Manager you receive the error 'Error parsing NaN value. Path '', line 1, position 1.' - upon further looking within the Log you will see that the Business Central RESP JSON() returns a 'Request URL Too Long' error

Reason: Since Dynamics 365 Business Central is a web-based ERP you're passing data through web-urls back and forth between it and Transaction Manager to properly send/receive data - this includes data such as items.

When a transaction with a large amount of items on it is received and attempted to be passed through the OData Query (Web-URL) you can hit the browsers/servers limit of how many characters can be in a single request exceeding the length.

The error Error parsing NaN value. Path '', line 1, position 1. is a bit of a generic error and mean multiple things - usually it's a failure to properly parse data between Dynamics 365 Business Central & Transaction Manager

Solution - Set Request Length Limit


You can split up your requests into chunks by using the Request Filter Length Limit setting within Transaction Manager. This will limit how many characters can be sent in a single request.

The recommended setting is 5000 - but you may need to limit it by 1000 or so in order to get the request to complete as some older browsers are unable to handle beyond 2000.

Navigate: Business System β†’ (Company) β†’ Company Configuration β†’ Integration Options

Set: Request Filter Length Limit

Recommended Value: 5000

If you do not see this setting - contact support to have it added

rev 5/25/2023

Did this answer your question?