Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unable to serialize object as a key #279

Open
sproctor opened this issue Dec 20, 2023 · 0 comments
Open

Error: Unable to serialize object as a key #279

sproctor opened this issue Dec 20, 2023 · 0 comments
Labels

Comments

@sproctor
Copy link

Running gatsby build fails on https://github.com/gatsbyjs/gatsby-starter-sanity-homepage-ts

Error message:

 ERROR #85901  GRAPHQL.UNKNOWN

There was an error in your GraphQL query:

Unable to serialize object as a key:
{"_ref":"-27fd89a4-d3ef-5ebe-b5c8-538e2fe5e7b8","_type":"reference"}

  16 |             href
  17 |             text
  18 |             description
  19 |             icon {
  20 |               alt
  21 |               gatsbyImageData
  22 |             }
  23 |           }
  24 |         }
  25 |       }
> 26 |       cta {
     |       ^
  27 |         id
  28 |         href
  29 |         text
  30 |       }
  31 |     }
  32 |   }
  33 | }

This problem started with 7.7.0 and persists in 7.9.1. 7.6.3 works fine.

@stipsan stipsan added the triaged label Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants