Steps to replicate the issue (include links if applicable):
Here is the function call through the API sandbox:
The call simply calls a function to convert the input zobject to a string.
What happens?:
Quickly fails with "Internal server errors", without much more info. It also randomly succeeds on some simpler objects, but not always. Not sure if it is flakiness due to performance issues or if it is another problem, e.g. related to this particular input.