Error after fetch - ERR_NAME_NOT_RESOLVED

I have a file that is located in same directory but I get two different errors after fetch functions tries to get it. Error #1 is something I am puzzled by because it happens very rarely but #2 is something I have seen before I can deal with. According to online resources #1 happens when domain name or IP can not be resolved or there might be connectivity issues. Can anyone suggest what can I do to check and respond to this error. Also why it is happening very seldomly?

#1 Failed to load resource: net:: ERR_NAME_NOT_RESOLVED
#2 Failed to load resource: the server responded with a status of 404 (not found)

ERR_NAME_NOT_RESOLVED would generally indicate a DNS failure to resolve the name of whatever you’re fetching to an actual IP, yes.

Is the resource you’re trying to fetch behind some kind of a load balancer that may have a node that they’ve shut off or something?

It is just a file located in the same directory

That… is very odd then… unless your local computer is having internet problems or trouble reaching its own DNS resolver.

I know that’s why i was puzzled

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