Kong not rendering js file

Hi,

I have a webpage which renders a js file like http://myurl/remoteEntry.js . I want to map this url in the Kong. After mapping, I am checking the routing through postman and I am getting - “message”: “An invalid response was received from the upstream server”.

Could you please help. Do I have to do some additional set up to redirect to a page which renders javascipt?