Embedded mode issue in server with draft page preview

Hello,

I have featch issue in staging server for frotity preview mode

  • Frontity embedded mode is working in my local setup with publish and draft page preview. But when I did the same on server I am getting this error shown below for preview draft:

Thanks
Nayan