Skip to content

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

@lieb77

Description

@lieb77

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions