Can't get sample_prior_predictive to work with missing values

Hmmm, are you able to share the model code? Might make it easier to grok and suggest a solution.

In the meantime, have you tried explicitly stating the shape?

Cheers, Jon