Hey,
Usually, it means that this customer does not have any active
subscription at the moment. I'd say that you're passing the wrong
customer id (cus_XXX) in the `customer` parameter and you should make
sure that this customer has an active subscription if you want to
retrieve their upcoming invoice.
Also for that type of questions it's better to contact our support
team directly. Simply log into the dashboard and then contact us from
our contact form here:
https://support.stripe.com/email
All the best,
Remi
> --
> You received this message because you are subscribed to the Google Groups
> "Stripe API Discussion" group.
> To post to this group, send email to
api-d...@lists.stripe.com.
> Visit this group at
>
http://groups.google.com/a/lists.stripe.com/group/api-discuss/.
>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
api-discuss...@lists.stripe.com.