Error handling if public API is disabled