bitrix icon indicating copy to clipboard operation
bitrix copied to clipboard

Response code 414 (Request-URI Too Large)

Open JulesSoulfly opened this issue 2 years ago • 3 comments

Good day!

I'm trying to call the list method for deals using select, including about a dozen field names, including custom ones. However, I am encountering the following error.

Using select: ['*', 'UF_'] leads to an undesired inflation of the response to the query, which is highly undesirable.

Any possible solutions?

JulesSoulfly avatar Feb 26 '24 12:02 JulesSoulfly

Hello! Currently, the requests are being sent to the API via HTTP GET, which imposes a limit on the number of parameters. I'm afraid using a wildcard selector is the only option.

mrhyde avatar Feb 27 '24 00:02 mrhyde

Hello! Currently, the requests are being sent to the API via HTTP GET, which imposes a limit on the number of parameters. I'm afraid using a wildcard selector is the only option.

Thank you for your reply! Perhaps you are planning to make changes and implement a POST request?

JulesSoulfly avatar Feb 27 '24 06:02 JulesSoulfly

Not in the foreseeable future.

mrhyde avatar Feb 27 '24 20:02 mrhyde