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
245 views Asked by Muhammad Abdullah Nabeel At
0
There are 0 answers
Related Questions in REACTJS
- ussd reader in Recket Native module
- Teams tab application returns SSO error in mobile Outlook
- Github Pages Deployment deploys a blank page
- Is there any way to glow this bulb image like a real light bulb
- Optimize LCP ReactJs
- Page in React only renders elements after refreshing
- Unable to Post Form Data to MongoDB because of picturepath
- MERN Stack App - User Avatar Upload - 500 Error After Deployment on Render
- Hooks are not supported inside an async component error in nextjs project using useQuery
- How to change the Font Weight of a SelectValue component in React when a SelectItem is selected?
- On the server side, it returns undefined but on the client side, logs the values no problem
- Multilevel dropdown with checkboxes in Select component
- TypeScript Error only on big type only when assigned to a variable
- Deployment through app engine, cloud sql database, problem connecting with server code, doesn't connect
- Data is not filtering in props. Showing passdata.map is not a function
Related Questions in REACT-NATIVE
- ussd reader in Recket Native module
- I can't make TextInput to auto expand properly in Android
- expo config plugin use import instead of require
- Custom Sound for Expo Push Notifications Only Works in Foreground
- run RTK dispatch on gesture start with React Native
- Should I set Back-End for my React Native application?
- using infoPlist in app.json for expo project seems to not be working
- Anyone have success configuring react-native-home-indicator?
- KeyboardAvoidingView makes a messy the flexbox
- I am getting lots of errors when building react native app in Xcode
- Search and highlight text of current text in PDFKit Swift
- Flatlist Sometimes Capped at 10 Items Bug
- Is there any way to page transition in react native (stack navigation)
- Screen inside Stack.Navigator not visible in React-Native
- React Native stopwatch implementation slow on iOS
Related Questions in FASTAPI
- Query parameter works fine with fastapi application when tested locally but not working when the FastAPI application is deployed on AWS lambda
- The selection of specific columns in SQLAlchemy in scalars does not work
- I can't call a FastAPI POST route using Python's "requests" module, but I'm able to call the same route via cURL command line
- Creating bar chart in FastAPI
- How to give index id to my uploaded json file in FastAPI?
- Elasticbeanstalk FastAPI application is intermittently not responding to https requests
- how to set same port on fastapi and eureka?
- Calls to external API work when running code as a script, but receive `500 Internal Server Error` response when using FastAPI to run the same code?
- How to assign label to nested Basemodel in pydantic with fastapi
- Validation for multiple fields on pydantic BaseModel
- Model Path not found in Sagemaker Inference
- fastapi adding eureka is throwing RuntimeError: Cannot run the event loop while another loop is running
- mTLS not working with FastAPI and Uvicorn
- fastapi docs , Pydantic BaseModel, request example missing
- Intermittent Hangs on Large File Uploads in FastAPI Before Reaching Endpoint
Related Questions in NATIVE
- cannot insert in SQLite database in react native expo
- Fix or not more vulerabilities in my new expo app?
- I'am trying to run my react native expo project in android and it's shows me this error
- Google playstore console not showing policy compliance option while i publish the new update under Locations Permission App Content
- React native drawer with react navigation 4.x.x
- ERROR Type Error: Cannot convert null value to object
- React native animation for object moving along circular motion without changing its direction
- How do I access Expo though cloudflared?
- Plugin with id 'com.google.gms.google-services' not found, compileSdkVersion is not specified
- react native with android virtual machine start expo project, error display java.net.UnknownHostException
- Debugging options for React Native using Expo 50 using Redux
- How to disable default splash screen or how to reduce default splash screen duration?
- How to change the "cancel(erase)" X icon in the Guide Search input field with another one from my imported library
- React Native Reanimated not initializing
- Want to restrict the panResponder icon to move out of the screen
Related Questions in FASTAPI-MIDDLEWARE
- FastAPI custom exceptions handler not working
- Consuming a message in a FastAPI middleware
- How can I pass data from API endpoint (request) to middleware in FastAPI?
- FastAPI Application Deployment on Azure App Service: 503 Service Unavailable Error
- FastAPI CORS and Cookies ignored by browsers
- Cant fetch data from my backend because of CORS same origin policy
- 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: use middleware to generate a result in which the original result is included as an element
- Handle external package logs from 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?
- React native expo app can't call backend in fast Api but calling any other API correctly
- receive_nowait raise WouldBlock error while uploading multiple files in FastAPI
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?
Popular Tags
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)