SAML SSO, the metadata url returns Object reference not set to an instance of an object

Yes, I’m using Automation Suite.

Well , I was trying to setup the authentication at the org level but since that didn’t work I tried at the host level and that didn’t work either. We can continue the discussion at Automation Suite SAML 2.0 metadata url not working - #2 by Sriram_Vasudevan