Answer
Check carefully for a stray extra space anywhere inside the expression — especially right after the &AO. API-call prefix and before the rest of the method name. An unintended space partway through the call makes the parser interpret the expression as though it's expecting a FROM keyword at that point, producing an error. Removing the stray space, so the whole thing reads as one unbroken method-call expression, resolves it.