#Facing issue with the nextjs integration

9 messages · Page 1 of 1 (latest)

ashen tinsel
#

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

twin karma
#

If you navigate to the shared endpoint on the browser (without /v1), does it open the console?

ashen tinsel
#

Yes it does

ashen tinsel
twin karma
#

does it have a self-signed cert or a valid ssl?

#

if you use the cloud endpoint, does that work?

ashen tinsel
random ridge
ashen tinsel
#

I'm using localhost so http it is @random ridge