The /ping endpoint acts as a “liveness check” that can be called to verify that Duo is up before trying to call other Auth API endpoints. Unlike the other endpoints, this one does not have to be signed with the Authorization header.
we made a simple call to:
https://api-***a.duosecurity.com/auth/v2/ping/
and get a response of
{“code”: 40401, “message”: “Resource not found”, “stat”: “FAIL”}
Any simple advice? I can’t think of a more basic call than to see if DUO is running?
I just tested the /ping endpoint using Postman and it works without Authorization Headers. You might try to navigate to your Duo tenant URL in a browser (https://api-*** a .duosecurity.com/auth/v2/ping) and also try without your specific Duo DNS name as mentioned in https://help.duo.com/s/article/1336.
My esteemed colleague @DuoPablo’s suggestion is a good one. I just wanted to add that if you did include the trailing slash shown in the original post, that does indeed fail.