# API doesn't create landing page html when selecting theme

**URL:** <https://forum.mautic.org/t/api-doesnt-create-landing-page-html-when-selecting-theme/14572>\
**Category:** Product Support\
**Created:** [May 31, 2020, 6:49am UTC](https://forum.mautic.org/t/api-doesnt-create-landing-page-html-when-selecting-theme/14572 "2020-05-31T06:49:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![coolguydudeman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/coolguydudeman/32/682_2.png) [@coolguydudeman](https://forum.mautic.org/u/coolguydudeman)\
**Post date:** [May 31, 2020, 6:49am UTC](https://forum.mautic.org/t/api-doesnt-create-landing-page-html-when-selecting-theme/14572/1 "2020-05-31T06:49:16Z")

</div>

**Your software**  
My Mautic version is: 2.162  
My PHP version is: 7.3

**Your problem**  
My problem is: When I create a page in the API and select a theme, no html is generated.

These errors are showing in the log:

Steps I have tried to fix the problem:
