After successful deployment to Heroku. I was able to register and send data to the database (mongo) and i checked to confirm this on the atlas dashboard. but when I tried to get posts on the client-side. it cant be retrieved. Please what can be the problem?
I was able to post data to the MongoDB from heroku but not able to fetch (get) data to the client (MERN Stack)
114 views Asked by Zeeson At
1
There are 1 answers
Related Questions in HEROKU
- How to get Heroku Support to answer an email?
- Duplicate GET requests - Rails & Heroku
- I am struggling to get a 200 success request for my Heroku-hosted API on Rapid API for GET requests. I only receive a '404 page not found' error
- Heroku Deployment Error: Failed to Push Some Refs to Git Repository
- NOT WORKING domain.com/cv WORK domain.com/cv/ www.bluetrendy.com/cv www.bluetrendy.com/cv/ any ideas?
- I'm going nuts with Heroku session management issues
- Images stored on google drive are not loading on a website hosted on heroku
- Deploy Springboot app on heroku which is using google storage services
- How to run mitmproxy in Heroku?
- Celery Task Tracing ValueError: Unpacking Issue in a Flask Web App Migration, python backend
- Unable to push changes via git behind Proxy with Heroku
- Failed docker deployment: Cannot find module '/app/heroku'
- Request timeout error (H12) on Heroku deployment for website scraping and Excel generation
- Stripe doesn't work after deploying on Heroku by Django
- I got CORS error when trying to do a request in my app in Heroku
Related Questions in DEPLOYMENT
- Github Pages Deployment deploys a blank page
- Django Admin Panel and Sub URLs Returning 404 Error on Deployment
- Next 14 App Router pages from dynamic routes not generating when deployed on vercel but only work on localhost
- Deployment through app engine, cloud sql database, problem connecting with server code, doesn't connect
- How to Deploy and Manage a Python Application with Systemd
- Elasticbeanstalk FastAPI application is intermittently not responding to https requests
- Duplicate GET requests - Rails & Heroku
- How to use a proxy to obtain a static IP for my Node.js application?
- Next js app throwing 404 error when deployed to vercel, even though it works fine on local
- How to deploy my shiny application (with multiple files) via Docker
- Deploying telegram bot
- How to deploy angular 17 SSR into IIS
- Route not working on refreshing the page in react deployed application
- Vercel wildcard route's src results in 404 error in Hapi.js backend
- Django deployment with GTK3
Related Questions in MERN
- MERN Stack App - User Avatar Upload - 500 Error After Deployment on Render
- What are some MERN projects that will grow me from junior dev to senior
- Why am I getting 'Method Not Allowed Error' in vercel
- Why I am facing an Origin error despite having included the header in the code?
- why static file handling in express js does not work for absolute path?
- connect ECONNREFUSED 43.205.72.30:27017 while connecting to Atlas
- How the search filter from search bar works in mern?
- CastError: Cast to ObjectId failed for value "{ _id: undefined }
- TypeError: Cannot read properties of undefined (reading 'year') in React Chart Component, and How to Implement Filtering by Year?
- socket io working fine on local environment but causes problem when run using deployed site
- How do I resolve this error ? "ERR_TOO_MANY_REDIRECTS"
- Is there a way to connect two models in mern and access user id of other model
- Cannot read properties of undefined (reading 'startsWith') Type Error In Node Js
- Activity status in Node js
- Issue with Google Drive API Integration: Unexpected HTML Response from Backend in Production Environment
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?
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)
First of all you should add details like :
Your router for post
Your Frontend Code where you are fetching data
And if necessary also post errors.
Now as mentioned here
You can check heroku logs , maybe you will find errors there. Or else post more details.
You can check your heroku logs by using :