MediaWiki:Apierror-parsetree-notwikitext

prop=parsetree is only supported for wikitext content.