You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m dynamically generating a PDF using an API, and I encountered an exception: TooManyPagesException. This happened when the number of pages exceeded the default value of 20 for maxPages. Increasing the maxPages value resolved the issue for now, but I’m wondering if there’s a way to set maxPages to unlimited or handle this more effectively.
Is there a proper approach to make maxPages dynamically adapt to the content or ensure it doesn’t impose a hard limit?
The text was updated successfully, but these errors were encountered:
I’m dynamically generating a PDF using an API, and I encountered an exception:
TooManyPagesException
. This happened when the number of pages exceeded the default value of 20 formaxPages
. Increasing themaxPages
value resolved the issue for now, but I’m wondering if there’s a way to setmaxPages
to unlimited or handle this more effectively.Is there a proper approach to make
maxPages
dynamically adapt to the content or ensure it doesn’t impose a hard limit?The text was updated successfully, but these errors were encountered: