Facing issues with Next.js integration
I've a project in which i'm fetching a list of products from the appwrite collection. I'm using web-sdk and Next.js on the frontend for this, I fetched the data successfully by creating a free account but recently client shared us the invite to his account there i gott a custom apiEndpoint, projectId, databaseId and collectionId when i try to fetch data from his project I get this error(ss shared below)
appwrite.ts home/page.tsx(server component) products.ts
If you navigate to the shared endpoint on the browser (without /v1), does it open the console?
Yes it does
I tried getting data from postman using api it works in postman too.
does it have a self-signed cert or a valid ssl?
if you use the cloud endpoint, does that work?
How to check this?
Recommended threads
- general_route_not_found - Auth Guide
If you’ve just added a subdomain to your project, verified your DNS records, and confirmed your SSL certificate is working, but you're still hitting a `general_...
- Can't resume paused project
I have logged in in incognito, done the email verification and still get the invalid fingerprint error. What's the issue.
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...