Have you tried replacing the cable? If that’s not possible in its current position, try a new cable closer to the switch temporarily. Secondly, check your IP settings for the access point, is it set to DHCP or static? If it’s set to static IP, there could be an IP conflict, switch to DHCP and reboot AP.