Custom JavaScript is not allowed issue while trying to publish

I am receiving error Custom JavaScript is not allowed while trying to publish google web story.

Notes:
– I have created sub domain and installed wordpress there.
– I have installed google webstories plugin.
– Use by default template for testing purpose.
– After preview webstory every time i am getting above mentioned error.
– I have shared hosting plan, does it affect?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer