# Javascript api error

**URL:** <https://forum.infinityfree.com/t/javascript-api-error/88885>\
**Category:** Hosting Support\
**Created:** [January 19, 2024, 8:08pm UTC](https://forum.infinityfree.com/t/javascript-api-error/88885 "2024-01-19T20:08:52Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![newbie3000](https://forum.infinityfree.com/letter_avatar/newbie3000/32/6_22734026db12803ebb3e059622ac3534.png) [@newbie3000](https://forum.infinityfree.com/u/newbie3000)\
**Post date:** [January 19, 2024, 8:08pm UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/1 "2024-01-19T20:08:52Z")

</div>

### Website URL

[https://lidex.wuaze.com](https://lidex.wuaze.com)

### Error Message

hello whenever i use eprolo to import a product to my ecommerce website it says

Import failed. This site requires Javascript to work,Please check whether your server supports API interface access.

can you please help me with this error!

### Other Information

it only happens when i push the product to my store from Eprolo!

---

<div class="post-metadata">

**Author:** ![ChrisPAR](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/chrispar/32/8743_2.png) [@ChrisPAR](https://forum.infinityfree.com/u/ChrisPAR)\
**Post date:** [January 19, 2024, 8:36pm UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/2 "2024-01-19T20:36:40Z")

</div>

I believe the security system is blocking the request:

> [@Ensuring only web browsers can access your website](https://forum.infinityfree.com/t/ensuring-only-web-browsers-can-access-your-website/49353):
>
> InfinityFree is a website hosting service. That means that the hosting accounts we provided are intended for hosting websites. Websites contain pages that are accessed through web browsers. InfinityFree is not intended to be used for file sharing, API hosting, database hosting or background tasks/tools. To help enforce this, free hosting enforces a security system that makes sure that anyone trying to access your website is using a normal web browser. This is done by checking whether the web br…

---

<div class="post-metadata">

**Author:** ![newbie3000](https://forum.infinityfree.com/letter_avatar/newbie3000/32/6_22734026db12803ebb3e059622ac3534.png) [@newbie3000](https://forum.infinityfree.com/u/newbie3000)\
**Post date:** [January 19, 2024, 9:35pm UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/3 "2024-01-19T21:35:35Z")

</div>

is there any way to fix it?

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [January 19, 2024, 10:12pm UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/4 "2024-01-19T22:12:09Z")

</div>

Get a custom domain and use Cloudflare is the most popular way.

---

<div class="post-metadata">

**Author:** ![newbie3000](https://forum.infinityfree.com/letter_avatar/newbie3000/32/6_22734026db12803ebb3e059622ac3534.png) [@newbie3000](https://forum.infinityfree.com/u/newbie3000)\
**Post date:** [January 19, 2024, 10:21pm UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/5 "2024-01-19T22:21:50Z")

</div>

so it would work?

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [January 19, 2024, 10:43pm UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/6 "2024-01-19T22:43:57Z")

</div>

If you buy a custom domain and connect to Cloudflare, then yes, the security system would be bypassed.

---

<div class="post-metadata">

**Author:** ![newbie3000](https://forum.infinityfree.com/letter_avatar/newbie3000/32/6_22734026db12803ebb3e059622ac3534.png) [@newbie3000](https://forum.infinityfree.com/u/newbie3000)\
**Post date:** [January 19, 2024, 10:47pm UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/7 "2024-01-19T22:47:05Z")

</div>

is there no way to add this sub domain to cloudflare?

---

<div class="post-metadata">

**Author:** ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)\
**Post date:** [January 19, 2024, 10:47pm UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/8 "2024-01-19T22:47:49Z")

</div>

No. Impossible.

---

<div class="post-metadata">

**Author:** ![newbie3000](https://forum.infinityfree.com/letter_avatar/newbie3000/32/6_22734026db12803ebb3e059622ac3534.png) [@newbie3000](https://forum.infinityfree.com/u/newbie3000)\
**Post date:** [January 19, 2024, 10:49pm UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/9 "2024-01-19T22:49:25Z")

</div>

i dont know if i am correct or not if the admin could add the orginal domain to cloud flare so we would be able to add our sub domains to cloud flare right?

---

<div class="post-metadata">

**Author:** ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)\
**Post date:** [January 19, 2024, 10:52pm UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/10 "2024-01-19T22:52:46Z")

</div>

> [@newbie3000](#):
>
> if the admin could add the orginal domain to cloud flare

This part is true

> [@newbie3000](#):
>
> so we would be able to add our sub domains to cloud flare right?

But still not. Then still admin and his apis could manage these domains, you still cannot add them to cloudflare.

Unless, admin appeals to those organizations that our subdomains is a “public suffix”. Combined with the procedure you mentioned above, it _might_ work.

---

<div class="post-metadata">

**Author:** ![newbie3000](https://forum.infinityfree.com/letter_avatar/newbie3000/32/6_22734026db12803ebb3e059622ac3534.png) [@newbie3000](https://forum.infinityfree.com/u/newbie3000)\
**Post date:** [January 19, 2024, 10:58pm UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/11 "2024-01-19T22:58:51Z")

</div>

i see

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [January 19, 2024, 11:29pm UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/12 "2024-01-19T23:29:21Z")

</div>

The base domain is not going to be added to Cloudflare, since then every single website on that domain would stop working (Due to DNS).

If you want to use Cloudflare you need your own custom domain name, you cannot use a free subdomain with cloudflare

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [January 20, 2024, 11:18am UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/13 "2024-01-20T11:18:12Z")

</div>

> [@newbie3000](#):
>
> i dont know if i am correct or not if the admin could add the orginal domain to cloud flare so we would be able to add our sub domains to cloud flare right?

We’ve tried that, it failed spectacularly.

From a purely technical perspective, it’s possible, but Cloudflare assumes that if you add a domain, that you also control all the content on your domain. With free subdomains, that’s not the case. And if Cloudflare finds something bad on one of the subdomains, they’ll take down the entire domain. And with tens of thousands of subdomains with user controlled content, some bad content is inevitable.

So setting up our domains with Cloudflare is just planting a time bomb on every subdomain on that domain, so we simply cannot do that.

---

<div class="post-metadata">

**Author:** ![newbie3000](https://forum.infinityfree.com/letter_avatar/newbie3000/32/6_22734026db12803ebb3e059622ac3534.png) [@newbie3000](https://forum.infinityfree.com/u/newbie3000)\
**Post date:** [January 20, 2024, 11:51am UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/14 "2024-01-20T11:51:23Z")

</div>

i see it make sense though i wish if there is an alternative way because i use eprolo to dropship this is my first time and i am on tight budget if i see if dropshiping make any sense then only i could invest some money in it preminium plans to stop the error!  
thanks for replying to me !

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [January 20, 2024, 11:54am UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/15 "2024-01-20T11:54:26Z")

</div>

You don’t need to buy a premium hosting plan, just a domain name is enough. With a custom domain name, you can use Cloudflare, which lets you bypass this restriction.

A domain name can be had for less than $10 per year, so that should be feasible on a tight budget. But if by “tight” you mean “non-existent”, then no, there is no way around it.

---

<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:** [January 27, 2024, 11:55am UTC](https://forum.infinityfree.com/t/javascript-api-error/88885/16 "2024-01-27T11:55:19Z")

</div>

Closed on January 27, 2024, 11:55am UTC

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