My organization has created a custom print layout for use with the Print widget in Web AppBuilder. The widget runs fine when most layers are turned 'on' on the map, but when NearMap imagery is on, the widget crashes.
Here is the error message that I get:

I've tried a couple things to narrow down the issue. I have no issues running the out-of-the-box print widget with NearMap imagery. And when I have the Esri World Imagery turned on when using the custom print widget, the widget runs fine. It's only when using the custom print widget with NearMap imagery that it crashes.
I'm getting a 200 status code when I look at the Developer Tools, so it seems like the request was successful, but clearly something is not working.

I've been through Tech Support, but so far that hasn't yielded any solutions. Any ideas or workarounds would be greatly appreciated.
Thanks