Question on `ALL` GraphQL queries

I am currently receiving a 500 internal server error when I run this query

  allOmegaProducts {
    assetStack {
      url
    }
  }

but the single query request works fine

  omegaProduct {
    assetStack {
      url
    }
  }

Do I need to modify my โ€œallโ€ request to make the query work ? like add a limit to the entries returned ?

Just noticed that this query works but anything pass 3 fails

  allOmegaProducts(first: "3") {
    assetStack {
      url
    }
  }

this fails

  allOmegaProducts(first: "4") {
    assetStack {
      url
    }
  }

sorry for this @niko

you are right, itโ€™s a bug on our end, we are on it and weโ€™ll get back to you as soon as itโ€™s fixed

1 Like

hi @niko

thanks for reporting this. Please try again, now it should work :slight_smile:

The problem was related to some of your gallery fields having "" as value.

From now on, you should get an HTTP status 422 (validation error) when submitting an item to our CMA that contains "" as a value for a gallery field . Allowed values are null or [{...},{...}].

2 Likes