Same error here. Any insight from FileMaker support?
This is quite an old post but I just came across the same issue (FM14): When the queried layout does not contain the container field you'll get the 404 error (fmxml) resp. the communication error 22. Having the container field just in the Table View does not solve the problem.
The error can be resolved by adding the container field directly to the layout.