I am having the same issue (2013 5th Gen Toyota 4Runner Limited)
Both key fobs that I received from dealership have the same issues at the same time, so I don't believe that the issues are with the Key fobs themselves.
The "key not detected" is intermittent and replacing the batteries in the...