I had this same problem myself.
What you need to do is add the following code to your API class
allow_active_record_expects true
You'll need to be REALLY careful though with methods that do inserts or updates to make sure you don't allow the RPC clients update things they shouldn't.