Make sure your API is available and CORS is either enabled or you’re using a browser extension that disables CORS. Most likely, you’re getting Network Error because of the CORS Issue.