Cannot use setValue when using AccessibilityId


I’m using Appium with and i encountered a weird issue.
When using XPath to locate a textField element i’m able to input text using setValue with no issue.
When locating the same element using AccessibilityId I get the following error:
invalid element state: Cannot set the element to 'value'. Did you interact with the correct element?
I know i’m interacting with the correct element because clicking on it actually works.

Here’s a sample of my code:

get email () { return $('~email_textField') }

Click (works):


getText also not working in that scenario.

Any ideas?