had the same issue on my NMAAX, Tamaha dealer told me can't repair only replace.....I bought 2nd hand without service book so no warranty granted (but not sure if would have been different with the service book) found a local shop in Pattaya who fixed the problem for 1,000 THB, ABS works fine again
its a common failure