While trying to generate PDF and/or Email report we are getting 504 error, sometimes some html content is returned. This issue is occurring while using DX Dashboards for DX SAAS.
Release : 20.2
Component : DX Dashboards
The issue was resolved after we edit the dashboard and save it again.
There are 55 panels in a dashboard which might be the reason for failure.