# CORS error

**URL:** <https://forum.canton.network/t/cors-error/5318>\
**Category:** App Development\
**Created:** [September 30, 2022, 5:38am UTC](https://forum.canton.network/t/cors-error/5318 "2022-09-30T05:38:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blessie](https://avatars.discourse-cdn.com/v4/letter/b/7cd45c/32.png) [@Blessie](https://forum.canton.network/u/Blessie)\
**Post date:** [September 30, 2022, 5:38am UTC](https://forum.canton.network/t/cors-error/5318/1 "2022-09-30T05:38:07Z")

</div>

We are encountering this error. Kindly help.

 ![Screen Shot 2022-09-30 at 1.30.49 PM](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/d/d9b96fe2d62dd7c213ae312893fb3f9d7a259c4c.png)

Here’s the vhosts configuration:

```haskell
<VirtualHost *:3000>
       ServerAdmin webmaster@localhost

        DocumentRoot /var/www/ecotx/build
        DirectoryIndex index.html
        <Directory /var/www/ecotx/build>
            Options FollowSymLinks
            AllowOverride All
            Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

# SetEnvIf X-Forwarded-Proto https HTTPS=on
   ProxyRequests On
   ProxyPreserveHost On
   ProxyVia Full
   <Proxy *>
      Require all granted
   </Proxy>
   <Location /api/>
      ProxyPass https://ceesqcxtwcnk9clm.daml.app
      ProxyPassReverse https://ceesqcxtwcnk9clm.daml.app
   </Location>
</VirtualHost>

```

Any assistance is appreciated. Thanks in advance

---

<div class="post-metadata">

**Author:** ![Dave](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/dave/32/7311_2.png) [@Dave](https://forum.canton.network/u/Dave)\
**Post date:** [September 30, 2022, 9:15am UTC](https://forum.canton.network/t/cors-error/5318/2 "2022-09-30T09:15:02Z")

</div>

Hey @Blessie, thanks for your question.

I believe that the same issue was raised [here](https://discuss.daml.com/t/cors-issue-with-daml-hub/4423). Please shout if that doesn’t help.

David
