DEV Community

Discussion on: React and Axios - How to avoid 404 error

cleper profile image

Sorry, i'm just myself used react and axios once, so i might be no help, but i suggest that you should not render error itself on page(line 57) but console log it first to see exact error abd then handle it, for example you can tell that api have no information about provided inputs. Sorri if it doesn't help as i said i'm pretty new to programming myself.