Wordpress Rest Api Error Codes