What could be causing an XML Parsing Error: no element found?

前端 未结 15 1847
刺人心
刺人心 2020-12-20 11:49

I recently migrated an ASP site from my dev machine to a live server. All the pages except my FAQ page works just fine, but my FAQ brings up:

XML Parsing Er         


        
15条回答
  •  春和景丽
    2020-12-20 12:34

    I was facing the same issue. My solution may not apply to ASP.NET, I am working in node/express land. My API endpoint was not returning any data in the response:

    return res.status(200).end();
    

    When I included something in the data response it resolved the issue:

    return res.status(200).send('ok').end();
    

提交回复
热议问题