I have created cms page name : contact us identifier: contact-us,
my layout:
<referenceBlock name="contactForm" template="Vendor_Block::form.phtml">
<block class="Vendor\Module\Block\Fields" template="Vendor_Block::fields.phtml" name="contact.fields" />
<block class="Magento\Cms\Block\Block" name="cms.contact.us">
<arguments>
<argument name="block_id" xsi:type="string">contact-us</argument>
</arguments>
</block>
</referenceBlock>
I am getting following error on localhost/magento/contact-us
We're sorry, an error has occurred while generating this content.