bitrix icon indicating copy to clipboard operation
bitrix copied to clipboard

414 Request-URI Too Large

Open sliterok opened this issue 4 years ago • 6 comments

So, i'm doing bitrix.call('crm.product.property.add', query) with a list property which has really large amount of options, and i'm getting 414 error. Is there any way to fix that? Aren't queries supposed to be POST requests?

sliterok avatar Aug 10 '20 13:08 sliterok

As of right now all get-requests are using HTTP GET method. But yeah, it doesn't work well for Bitrix. It's planned to switch to POST in v3, but there's no ETA yet

ArmorDarks avatar Dec 03 '20 18:12 ArmorDarks

@ArmorDarks Please tell me if there are any plans to fix this in the near future?

batFormat avatar Nov 14 '21 03:11 batFormat

@batFormat I will take a look at it tomorrow and let you know about ETA

mrhyde avatar Nov 14 '21 23:11 mrhyde

@batFormat, unfortunately, there is no way to quickly fix this, as it will require changes to typing and batching logic. We are going to discuss a possible rewrite of a crucial part of this project with @ArmorDarks and will post some updates here.

mrhyde avatar Nov 16 '21 05:11 mrhyde

Unfortunately there are no benefits to use this npm package without implementing POST request.

antnzr avatar Apr 20 '22 10:04 antnzr

@antnzr you are more than welcome to submit a PR with such functionality

mrhyde avatar Apr 23 '22 15:04 mrhyde