Black Lives Matter. Please consider donating to Black Girls Code today.

SyntaxError: Unexpected end of JSON input; Problem with dash-renderer javascript when hosted behind Azure API Management

Hi, i’ve created a dash app and hosted it on Azure App Service, it is working fine. But when deploying the app behind Azure API management to throttle limit/access control, i’ve faced the following problem:
'the javascript source code of dash-renderer (_dash-update-component in networks tab) throws SyntaxError: Unexpected end of JSON input


I’m confused as to why this is happening, since all the packets are 200 well received. This seems to affect the callback portion of the app, all components involved after the first callback function seems to appear inactive.

Does anyone have similar experiences with this error and is able to help?