# XMLHttpRequest blocked by CORS

**URL:** <https://forum.infinityfree.com/t/xmlhttprequest-blocked-by-cors/87854>\
**Category:** Hosting Support\
**Created:** [December 24, 2023, 8:25pm UTC](https://forum.infinityfree.com/t/xmlhttprequest-blocked-by-cors/87854 "2023-12-24T20:25:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon94074150](https://forum.infinityfree.com/letter_avatar/anon94074150/32/6_449c533f586939b6e5f246632a46421f.png) [@anon94074150](https://forum.infinityfree.com/u/anon94074150)\
**Post date:** [December 24, 2023, 8:25pm UTC](https://forum.infinityfree.com/t/xmlhttprequest-blocked-by-cors/87854/1 "2023-12-24T20:25:26Z")

</div>

### Website URL

[http://minimaniatracker.000.pe](http://minimaniatracker.000.pe)

### Error Message

(  
 ![err](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/8/d/8d0aab2b679ed46bd64e5c9ce2b8dfc5c94344ce.jpeg)

### Other Information

I have a website made in laravel and vue.js im getting this CORS error when trying to get users data from the database. thanks!

---

<div class="post-metadata">

**Author:** ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)\
**Post date:** [December 24, 2023, 10:46pm UTC](https://forum.infinityfree.com/t/xmlhttprequest-blocked-by-cors/87854/2 "2023-12-24T22:46:41Z")

</div>

it means that you have error 500 at this location (yellow)

 ![image](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/0/9/09cc95c8bbd4a2c4d00fac81ba1993fbaeaad0ab.png)

here `http://minimaniatracker.000.pe/api/users`

or here `http://minimaniatracker.000.pe/api/`

> [@Http error 500](https://forum.infinityfree.com/t/49352):
>
> When trying to access your website, you may see a page which returns the status code “500”. In Google Chrome, you’ll see a page with the error code HTTP ERROR 500. There are typically two reasons which can cause this error: The PHP code has crashed. The .htaccess file contains invalid rules. Here are some things you can try to debug and fix this. Fixing crashing PHP code A HTTP ERROR 500 simply tells you that the PHP code has crashed, but gives no information as to why it has crashed. Gett…

> [@Common MySQL Connection Errors](https://forum.infinityfree.com/docs?topic=49338):
>
> Many websites use MySQL databases to store information and settings. However, there are some reasons why the connection to the database may fail. This article describes some commonly seen error messages when connecting to a database, as well as some general tips to keep in mind when setting up a database connection. Common Error Messages Using MySQL is great, but the error message returned if there is an issue logging in to your database can be quite confusing. Here are some commonly seen error…

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [December 31, 2023, 10:47pm UTC](https://forum.infinityfree.com/t/xmlhttprequest-blocked-by-cors/87854/3 "2023-12-31T22:47:12Z")

</div>

Closed on December 31, 2023, 10:47pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
