Hi Siva,
Usually a "VAST resource document is empty"
error is due to ads not serving properly. It could also be due to frequency capping so the same ad does not get played twice to the same user. You'd might want to check with your account manager to make sure that these scenarios are not the case.
Having said that, I was not able to reproduce your issue in our
Advanced Example. When I request the ad a second time, it plays without any issues. Are you able to reproduce the issue in our sample apps? If not, we may need to look at specifics of your implementation to see what is deviating from the logic of the example.
Please try destroying the AdsManager, then calling contentComplete on the AdsLoader which will
reset the correlator value (used for frequency capping). The server is thinking that your requests are duplicate.
Thanks,
Tyler Sidell
IMA SDK Team