These Issues can happen for two reasons:
1-If the API is not enabled in the user’s profile.
Check API is disabled / Apex Rest Services is disabled to see more details about it.
2- If the user has restrictions in his internet connection (VPN or the company network), this message may appear and nothing will work.
Check What domain or IP needs to be whitelisted for Tuvis work properly?