Logout of auth0 as SAML IDP

I am trying to integrate the logout API
https://YOUR_DOMAIN/samlp/CLIENT_ID/logout . What i am doing is when a logout happens from our app, I am redirecting the browser call to the above URL. What i get is

400 response with
There could be a misconfiguration in the system or a service outage. We track these errors automatically, but if the problem persists feel free to contact us.<br/>Please try again.

Not sure what is configured incorrectly, i just have the basic setup and nothing specific in the saml addon.
What i would like to have is, once the logout happens in auth0, i want the page to be redirected to auth0 login dialog page.