Octoprint.local not working

What is the problem?
can't seem to find octoprint device when trying to ping

What did you already try to solve it?
checked the network name I type was the same and made sure it was on the right country since I am using a 3b +

Logs (syslog, dmesg, ... no logs, no support)
ping: cannot resolve octopi.local: Unknown host
Additional information about your network (Hardware you are trying to connect to, hardware you are trying to connect from, router, access point, used operating systems, ...) I am trying to connect to an extender not sure if that is the issue but for some reason, its not wanting to connect to the access point to the pi. I don't have a screen to plug the pi to. so im trying to do it headless by activating ssh.

does just octopi (instead of octopi.local) work?

no it doesn't for some reason its not detecting anything. could it be that it was flashed wrong on the sd card?

I have flashed it twice through pi manager

It is possible, but I think it is unlikely.
I would connect the pi via ethernet cable to rule that out. You can also try to connect to your wifi while it's connected with via ethernet.

Scan for available networks with sudo iwlist wlan0 scan

Also take care that there is no www. appearing in the address. SO it should look like this:

http://octopi.local