#gk-subscription-expand
1 messages · Page 1 of 1 (latest)
@rich knoll can you give more details? You say you experienced an "issue" but didn't say what? You're just getting an error saying you can't expand past 4 levels right?
gk-subscription-expand
Thats correct, the problem is that I'm trying to expand the product inside plan (see screenshot). When I do this, I get an empty list or no result instead of the expanded object
Is there a limit in the levels for expand to work?
I mean it's not that you get an empty list right? It's that the entire call is failing and you get a real error/exception you have to catch/handle cleanly https://stripe.com/docs/error-handling
the limit is 4, so you can't do 5, it's impossible to expand down to the Product in that specific case
Yep, you are right it's an error and I have a error handler that defaults to an empty list.. now that you mention it.
Perfect, I did not know about the maximum levels
Great, thank you very much
Sure thing!
Do you happen to have a link to the documentation to where the maximum levels is explained?
bottom of the section here https://stripe.com/docs/expand#multiple-levels
Thank you very much Koopajah