Two possibilities here:
1. There was a change in Betfair's T&Cs in early Nov - their regulator changed from Gibraltar to Britain, basically - and you had to accept the change manually via a website login. Until you did this the API locked you out. Once you did it, everything was fine. So if you haven't used the Betfair website recently, this could be an explanation with a simple fix.
2. Also in early-Nov, Betfair turned off the old SOAP-based API. Only the new one (JSON-based, REST) now works. Therefore, if you're running a Bot that only works with the old API, I'm afraid it's now redundant and there's no alternative but to rewrite it for the new API. This is very much not an easy fix. Sorry if this is the case for you.