Doing an axiosRequest with
const a = await axios.get(URL)
and without any further configuration, it gives error:
' AxiosError: maxContentLength size of -1 exceeded'
The contentLength of the website is significant, >185KB, but as I did not configure any maxContentLength then this behaviour is nonsense.
What's the fix? Tried configuring a huge maxContentLength but still shows the error