# Why do I see “ network error when attempting to fetch resource” when using the Web api connection with SAP

**URL:** <https://community.thunkable.com/t/why-do-i-see-network-error-when-attempting-to-fetch-resource-when-using-the-web-api-connection-with-sap/1976289>\
**Category:** Questions about Thunkable X\
**Created:** [July 26, 2022, 9:59am UTC](https://community.thunkable.com/t/why-do-i-see-network-error-when-attempting-to-fetch-resource-when-using-the-web-api-connection-with-sap/1976289 "2022-07-26T09:59:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [July 26, 2022, 10:14am UTC](https://community.thunkable.com/t/why-do-i-see-network-error-when-attempting-to-fetch-resource-when-using-the-web-api-connection-with-sap/1976289/2 "2022-07-26T10:14:18Z")

</div>

Hey @Application

Did you test this on a device or via the live preview in browser? If in browser this occurs, but not on mobile, it’s most certainly a CORS issue.

> [@\[Solved\] Project won't GET data from API in Web Preview \[CORS issue\]](https://community.thunkable.com/t/solved-project-wont-get-data-from-api-in-web-preview-cors-issue/1888743/7):
>
> At this time, web apps and web preview wont work with all api’s due to[CORS issues](https://intercom.help/thunkable/en/articles/4515338-what-is-the-cors-policy-affecting-my-web-app). One way to get around this issue would be to proxy the calls using a service like Xano as shown below. If you try the following URL in a web previewed Thunkable app, you’ll notice the issue that requires proxying the call. http://numbersapi.com/2022/year?json [updated video ^^^] The idea here is that if you have an API that you can’t access but want to be able to using web apps or live preview, yo…

---

_[View the full topic](https://community.thunkable.com/t/why-do-i-see-network-error-when-attempting-to-fetch-resource-when-using-the-web-api-connection-with-sap/1976289)._
