Server Connection Check

Hi,
Is there any endpoint that can be used to check the connection to the server without user authentication? For example, in YouTrack, you can retrieve the server version. I need this for diagnostic purposes to troubleshoot user issues with internet connectivity.

I don’t believe this exists. You could potentially query the server with a dummy auth, and if the server answers 403, you know the server is alive and well? :thinking: @Phil_Seeman any idea?
maybe you can GET https://status.asana.com and read what is says :sweat_smile:

1 Like

Hi @Tomasz_Klin,

Yeah, I don’t know of an endpoint you could use for that but I like @Bastien_Siebman’s idea to query some simple endpoint like https://app.asana.com/api/1.0/users/me with a fake auth and check the return code.

I wouldn’t use https://status.asana.com as it’s not guaranteed to be 100% reliable for API outages.

1 Like

As Bastien and Phil mentioned, there is no official server status endpoint, but you can make a simple request if you need to proactively confirm they are not down.

We recommend developers build apps to gracefully handle the potential error codes they may encounter.

Best,
Jeff

1 Like

Thank you! I will do that.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.