bitrix
bitrix copied to clipboard
414 Request-URI Too Large
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?
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 Please tell me if there are any plans to fix this in the near future?
@batFormat I will take a look at it tomorrow and let you know about ETA
@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.
Unfortunately there are no benefits to use this npm package without implementing POST request.
@antnzr you are more than welcome to submit a PR with such functionality