2 followers Follow

Maximum recursion depth of 1000 has been reached

I got the below error when trying to compile a csdl using stream tag like the one in this example (using Python API Client):

CompileFailedError: An error occurred: "maximum recursion depth of 1000 has been reached".

There are about 1,600 streams inside the "return" statement.

Trung Huynh

Official comment


This 'maximum recursion depth' error is raised because you are using more than 1000 'OR' operators in your CSDL.

If you split this into two separate streams (800 streams per master stream), this will resolve the problem. 

Jason D.
Comment actions Permalink

Please sign in to leave a comment.

1 comment