Appium throwing error when trying to click on a UIASecureTextField

I am trying to use Appium 1.4.0 to test my iOS application using the iOS Simulator. The app has a login page and I need to enter the username and password. The password field is UIASecureTextField and when I try to click it Appium throws the following error -

“An unknown server-side error occurred while processing the command. (WARNING: The server did not provide any stacktrace information)”

The Appium inspector does show the UIASecureTextField but when I use the isDisplayed function in the code to verify if the Secure Text Field is displayed or not I get a false.

I am new to Appium and feel stuck by this. Any kind of help in this regard is highly appreciated.

Thanks,
Amruta