#gk-subscription-expand

1 messages · Page 1 of 1 (latest)

craggy dustBOT
wild idol
#

@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

rich knoll
#

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?

wild idol
#

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

rich knoll
#

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

wild idol
#

Sure thing!

rich knoll
#

Do you happen to have a link to the documentation to where the maximum levels is explained?

wild idol
rich knoll
#

Thank you very much Koopajah