Root Element Is Missing
SummaryCustom report showing error while using REST API in Custom Scripts
As per business requirement, run cron job after specific interval of time. I am using REST API in custom scripts in custom report. I tested the same code in different PHP file and I am able to get results. I need to get all the result in PDF file format and send it to my email id with attachment. I am getting error "Root Element Missing" after running custom report. Here is what I have written in different tabs.