Request-URI Too Long... đŸ˜± [Leads description field]

So I’m getting this error:

Basically it seems we hit the limit of how much data that can be written into the leads “Description” field. Over time sales reps write of course data into it as one communicates with clients and records what has been said, agreed too, what actions taken etc.

So today I wanted to add a comment to a potential client/lead and getting this error.
Since our server has been installed with Plesk which we use to partition our server into various business functions I first contacted Plesk on their support forum (Link Plesk support thread: Simple URL Shortener), and received this answer:


Applied their suggestion but to no avail.as server server won’t accept more data in description field and hits me wit the “Request-URI Too Long” error :cry:

Do you guys know about this issue (With too long/too much data in the lead description field), and how to solve this and increase the allowed length?

Thanks in advance! :+1:
Kind regards

You would go to Studio, and attempt to change the Lead Description field’s data type from TEXT (max 16k characters in utf8mb4) to LONGTEXT (max 1G characters in utf8mb4). If necessary, increase those Apache “additional directives” to accommodate the larger max field data size, maybe 1M (256K characters) to start. Try this, and let us know how this worked for you.

1 Like

Thanks I will check your suggestions out and come back later with a status of how it went.

So how/where do you actually do that @chris001 ?
I can only find this in the studio and there is not an option to change the data type to “LONGTEXT”:

Thanks in advance.

If the problem is with the URI in the web request, it’s not with the field size in the database.

But the real issue, I would say, is figuring out why this is going in the URI in a GET request, when it should obviously be going in a POST request where this limit would not be an issue. But as far as I know SuiteCRM uses POST, did you change or add anything?

Nothing.
I have just entered a lot of recorded client history contact information into the “description” field. Now yesterday I wanted to add a new line of information because we just had meeting with this client and SuiteCRM and/or the server refuses to allow more data in that field.

I can without any issues remove or edit the older text entered into that field. It just pukes with that error message if I attempt to add more text into the “Description” field. So it clearly shows that I hit the max limit for how much you can type into that box/field.

Can you share the URI in the request (get it from the browser’s dev tools, network tab), after removing any sensitive or private information? You can also omit the big description text as long as we can have a look at the name of the argument.

This one @pgr ? :thinking:


Or did I understand you incorrectly?

Here is the URI in the address window sanitized for the domain name:
image

/index.php?action=ajaxui#ajaxUILoc=index.php%3Fmodule%3DLeads%26action%3DDetailView%26record%3Da6dfd101-1464-db76-346c-625df5c34f93

Thanks in advance.
Kind regards

That would be it, except that that URI is not very long, and the server is not returning an error on that one
 I would like to have a look at the URI causing trouble. Maybe there’s no way to get it easily, I don’t know.

Can’t it be the data that is sent to the description field in the DB?
I mean that is what generates the “URI” error when you try to add more info to it.

The URI is the actual stuff you see in the browser, if the data is in there, it’s visible, as in a GET request, like http://my.site.com/?field1=something&field2=looooooooooooooong

But SuiteCRM doesn’t usually send data like that, it uses POST requests, which (I believe) shouldn’t trigger server errors mentioning long URI’s.

I would recommend that you keep looking for Apache configurations (don’t forget to restart web server after editing config files), I don’t think this is a SuiteCRM issue.

Well I did try the suggestion:

LimitRequestLine 16380
LimitRequestFieldSize 16380

But that did not have any effect at all. I’m kind of out of ideas I’d must admit.

Well remember that it is the amount of data in the leads “Description field” it is actually complaining about. I cannot simple add more text in that field. I can remove/edit all data/text up to this point. But adding a few more lines of text and it pukes all over it.

Does your Apache log show anything interesting?

Thanks for the reply PGR.

I will attempt and check it later and come back when I had some time to check the live logs and do a test too. (E.g. looking at the server logs on the same time as I attempt to add more text in the description field.).

1 Like