Questions tagged [hygraph]
20 questions
1
vote
1 answer
Problem sending a post 'excerpt is not defined in 'post'
Answer: I figured it out. The follow-along is old and GraphQL API had an update. I had to go to their API Playground and re-do the code.
I am making a blog with Nextjs using hygraph.com as the back end. I was trying to get it to where you can see…

Devious
- 11
- 2
1
vote
1 answer
GraphQL Error (Code: 429) - Next Js project
For anyone working on a nextjs project, who's struggling with GraphQL Error (Code: 429), here's a quick fix.
The back story...:
I built a headless CMS using Hygraph and NextJS 13 for a blog project. I also used the npm graphql-request package. I…

G6ix
- 164
- 1
- 8
1
vote
1 answer
Data not appearing on the Front-End of my web page
I'm struggle to figure out why my data is not mapping the data on these two components. I have tried this two method to debug my code and has seen the data object for the navigations & footer.
Don't understand why not data on the front-end
I have…

Perceptor Dev
- 53
- 7
1
vote
1 answer
Cannot read properties of undefined (reading 'map')
I have tried using debug methods such as && and ?, as well as checking for undefined, but none of these have helped me resolve the issue. If anyone could provide some insight as to why this might be happening and how I can fix it, I would greatly…

Perceptor Dev
- 53
- 7
0
votes
0 answers
GraphQL deleteManyConnection not able to delete a record
I am implementing a function to delete a record from the database with graphql but it is giving me headaches now. I am using hygraph/graphcms on which the query is running perfectly fine but its not working in the code.
Here is the query -
const…

Kartik Thakur
- 57
- 1
- 7
0
votes
1 answer
How can I implement the Hyperlink on this code?
Theres a lot of information behind this problem. I'll try to show everything here.
I'm using Hygraph and GraphQL to create a Blog with Headless CMS and on my API call I have the getPostDetails. This is working and my problem is related to content {…
0
votes
0 answers
Data is being fetched from HyGraph with Apollo Client but the browser or React isn't rendering the data
I am using HyGraph for creating a basic works section for my portfolio website using Apollo Client. The data is being fetched ( i have used a series of console logs and I am using ? to check if a const is available before mapping stuff.) I have…
0
votes
1 answer
Hygraph & Next JS issue pulling data
So I am trying to pull in some data from Hygraph in a new Next JS application, I recieve the error of Error: Cannot read properties of undefined (reading 'map').
I am new to both these technologies and cannot find a solutions, for reference I create…

Lewis
- 1
- 5
0
votes
1 answer
How add image to graphql from react
I use the following mutation for inserting an image into a post.
mutation MyMutation {
createPost(
data: {title: "", excerpt: "", content: "", postid: "", featuredImage: {create: {fileName: "", handle: ""}}, author: {connect: {Author: {email:…

Frecoder
- 23
- 8
0
votes
0 answers
GraphCMS full Text Search Case In-sensitive
i recently started working with graphCMS and I am looking to implement the full text search functionality inside my nextjs app but i can't seem to find anything so I wanted to ask that currently does the graphCMS supports full text search or not? If…

Ateeb Asif
- 94
- 3
0
votes
1 answer
Having a hard time with fetching data from hygraphCMS
i lost hours and a little of my sanity trying to solve this, but with no luck, despite all the things i've tried on the way.
So i have this code
`
import { request } from "graphql-request";
import Link from "next/link";
import { useState } from…

Herminio Henriques
- 15
- 5
0
votes
0 answers
How to upload localization assets in Hygraph?
We're spent a couple of days searching the way to upload "locale" assets to Hygprah (formerly GrpahCMS).
We have a website to update a FAQ's document, but we need to upload an English and a Spanish version.
Currently, we can upload an asset with the…

scmbgx
- 71
- 1
- 11
0
votes
2 answers
Headless CMS GraphQL NextJS Project Post Limit Issue
I have a Headless cms project I created using GraphQl, NextJS and Hygraph.
I'm also using NPM Graphql-request.
I'm having issues "receiving" more than 10 posts on my project.
So far I had less then 10 posts on my site, but now that I posted more,…

G6ix
- 164
- 1
- 8
0
votes
0 answers
Why Hygraph cms showing 'GraphQL Error (Code: 405)'?
I am trying to fetch data from hygraph by this way
export const getCategories = async () => {
const { categories } = await hygraph.request(
`
query GetGategories {
categories {
name
…

Sujjeee
- 15
- 4
0
votes
1 answer
Why Richtext content is not searchable in hygraph/graphcms?
Im try to search content from the query user requested but hygraph not showing the result it only show data if title contains it...
export async function getServerSideProps(context) {
const { query } = context;
const { posts } = await…

Sujjeee
- 15
- 4