Closed priya-jain-dev closed 10 months ago
Hi @priya-jain-dev!
I’m not sure what the problem might be.
Did you setup the provider correctly in the root of your app?
Can you take a look in your network tab to see if the init
api is succeeding?
You can also try to run the example app in your machine. Here are the steps to run the example app:
git clone https://github.com/edgestorejs/edgestore.git
cd examples/next-basic
npm install
examples/next-basic/.env.local
npm run dev
Then compare it with your project and try to find the problem.
Let me know if this helps you.
Hi @perfectbase thanks for quick response.
init
is returning token. But still getting 401 with upload api
@priya-jain-dev strange… if you make a minimal reproducible repo, I can take a look (maybe tomorrow)
otherwise, you might be able to figure it out from one of the example apps.
Working now... Not sure how. After running small demo. I just restarted main project today without any change its working. Might be due to next cache.
While uploading single file getting error Missing edgestore-ctx cookie from API call. I followed steps mention in : https://edgestore.dev/docs/components/image