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
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...