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
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- Database Write Limits hit
Hello Appwrite Admins, I'm a GitHub Education user, and about a week ago, my database was really badly optimized, resulting in about 600k writes in a single day...
- How to properly implement custom domain?...