My idp url retern error 404

I just create a new SAML2 application and sign a test user but now when open my Identity provider metadata url manually get the error 404 any idea mu idp return 404?

How are you getting the metadata URL? From the link in Sign On → settings? And it doesn’t work if you try to open it while logged into your org?