Skip to content

Using jsona with either NextDrupal or @drupal-api-client/json-api-client does not return field data #69

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

Open
lieb77 opened this issue Mar 13, 2025 · 0 comments

Comments

@lieb77
Copy link

lieb77 commented Mar 13, 2025

With either client, regardless of the query parameters, all I get back is

{
    type: 'node--page',
    id: 'Some - UUID',
    links: { self: [Object] }
  },

for each node in the response set. If I run the same query without jsona I get the full data set, which includes many fields.

Running under Node.js v23.8.0 / Next.js 15.2.2 / next-drupal 2.0 or @drupal-api-client/json-api-client 1.3.0
My Drupal sites are running Drupal 10.4.4 and 11.1.4 - I get the same results with either

Just to be sure it's not my site if I go to my-site/jsonapi/node/page I get the complete data set.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant