@BigglesZX Your issues seem similar to those experienced here:
You may want to join the conversation.
Edge Function’s are usually recommended as an option for more advanced self blocking of requests.
Another user did that here: