Script tag API - Unprocessable entity

New Member
1 0 0

Hello all,

I'm developing a custom app using the script tag API and have an issue that couldn't find the exact cause in the API documentation.

I'm receiving an error 422 - Unprocessable entity when the URL exceeds a certain number of characters. When it is shorter, no problem, I'm able to add the script bundle and it loads in the shop as expected. When it is longer (but still a valid URL) I receive the error I mentioned.

Does anyone know precisely what is max length for a URL added through script tag api?