I am working on a mobile app project which is built in React Native and the backend is made in fast API. The problem is that react native has to call the fast Api backend to work a special functionality. Fast API is hosted in deta space. The app was working fine before the deta upgraded to newer cloud infrastructure. Now if I write URL of any other API it works fine, but not for my fast API. The fast API on the other hand is working fine in postman as well as in the deta space. But still unable to be called from within the react native expo app. It shows an error saying: Network request failed whenever the API is called from within the app. I am unable to figure out whether I should make changes on deta or in fast API to allow calls from within react native or should I do some other thing to call fast API, because other APIs are working fine only the specific API is not being called and shows network error
React native expo app can't call backend in fast Api but calling any other API correctly
244 Views Asked by Muhammad Abdullah Nabeel At
0
There are 0 best solutions below
Related Questions in REACTJS
- What is `_dereq_()` inside React?
- React TypeError: React.renderComponent is not a function
- React - saving a component in the ref callback
- React Rails component: manually triggering a re-render
- React, ES6 - getInitialState was defined on a plain JavaScript class
- How to get multiple selected options value in React JS?
- React.render replace container instead of inserting into
- reactjs datagrid use html
- props is not initialized in react component
- How to display xml data using Reactjs
- hooking up the data model in ReactJS - syntax
- ReactJS: How to use an immutable empty array or object
- How to use Sinon.js FakeXMLHttpRequest with superagent?
- React select onChange is not working
- ReactJS - Tutorial Comment System > Threaded commenting
Related Questions in REACT-NATIVE
- React Native: detect if UIVisualEffectView is supported
- Prevent Chrome debugger from stealing focus in React Native
- React-native upload image to amazons s3
- react-native update NavigatorIOS component's props
- promise – can't find variable process
- Using React Native within existing iOS app for some views only
- What is a good approach to building and distributing a React Native iOS component that extends iOS functionality?
- error in xcode 6 "is not registered as a URL scheme. Please add it in your Info.plist"
- DeviceEventEmitter stops emitting events to application when screen locked
- How to rename react-native entry file (index.ios.js)
- react-native component lifecycle methods not firing on navigation
- How to use comments in React
- react-native propagate changes in props through ListView and Navigator
- How do i use the iOS shake gesture with react native?
- TouchableHighlight won't accept press events while keyboard is open
Related Questions in FASTAPI
- FastAPI websocket can't handle large incoming of data?
- How to use a synchronous function inside a websocket in FastAPI/Starlette?
- Fast api, sending json response in web socket
- How to disallow empty parameters in FastAPI?
- FastAPI not raising HTTPException
- reload flag with uvicorn: can we exclude certain code?
- Custom authentication for FastAPI
- FastAPI save context that will be available in endpoints
- How to set cookies with FastAPI for cross-origin requests
- Get starlette request body in the middleware context
- How to directly send file to client from google storage in python?
- Reduce latency in Asyncio
- FastAPI: security with firebase token
- FastAPI to handle multiple DB connections via SqlAlchemy
- API JSON Schema Validation with Optional Element using Pydantic
Related Questions in NATIVE
- Retrieve more than 1 output from native.dll file
- What is ntdll!_SEH_epilog ? Is the first occurence of it the place where the real issue is?
- Building cross-platform(Linux, Windows) java JNI application with maven
- Does it make sense to obfuscate internal company application (APPX) on Windows Phone 8.1?
- Best option for converting a JSP website to Android app?
- CharSets supported in android 4.2.1
- native activity camera on lollipop with opencv
- Java + Native messaging doesn't work good
- Is websocket is dedicated for browsers only
- Create a native bundle for a JavaFX application that has a preloader
- Opening Native Map App from URL On Apple, Android, Windows Devices
- Native Camera Using get Rotation
- Android OpenGL ES 2.0 w/ Native Code Outputs Black Screen
- Codeigniter session to convert to use native sessions php
- Ionic 2 Native Map overlapping side menu
Related Questions in FASTAPI-MIDDLEWARE
- FastAPI async def function not asking credentials even though it is expected to for a post method
- How to add middleware to the Fast API to create metrics to track time spent and requests made?
- Handle external package logs from fastapi middleware
- fastapi: use middleware to generate a result in which the original result is included as an element
- Dependency conflict between python-telegram-bot, httpx, and googletrans
- How to get Azure bindings to FastAPI endpoint
- How to catch or process RequestValidationError exceptions differently in a FastAPI middleware?
- FastAPI CORS and Cookies ignored by browsers
- FastAPI : Adding a custom middleware to specific endpoints / path operations
- fastAPI credentials are missing for POST requests
- Fastapi enabling Cors gives - error error serving tap http server: http: Server closed
- Extracting content from response in middleware FASTAPI
- Cant fetch data from my backend because of CORS same origin policy
- How can I pass data from API endpoint (request) to middleware in FastAPI?
- FastAPI Application Deployment on Azure App Service: 503 Service Unavailable Error
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?