# Invalid XML markup. Expected xml, but instead found \[text/html; charset=utf-8\]

**URL:** <https://matillioncommunity.discourse.group/t/invalid-xml-markup-expected-xml-but-instead-found-text-html-charset-utf-8/1675>\
**Category:** Matillion ETL\
**Created:** [March 3, 2022, 2:40am UTC](https://matillioncommunity.discourse.group/t/invalid-xml-markup-expected-xml-but-instead-found-text-html-charset-utf-8/1675 "2022-03-03T02:40:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![najamul.hashmi](https://avatars.discourse-cdn.com/v4/letter/n/4491bb/32.png) [@najamul.hashmi](https://matillioncommunity.discourse.group/u/najamul.hashmi)\
**Post date:** [March 3, 2022, 2:40am UTC](https://matillioncommunity.discourse.group/t/invalid-xml-markup-expected-xml-but-instead-found-text-html-charset-utf-8/1675/1 "2022-03-03T02:40:55Z")

</div>

Hi there,

I am trying to use SharePoint Query Component. We are using OAuth. I have specified REST and have select SharePoint Online option. When I try to click on Data Source I get above mentioned error. It is a very simple POC pipeline... Just one component in it to test connectivity. We are on AWS. Has anyone else experienced similar issue. Thank you in advance for your input and help.

&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![najamul.hashmi](https://avatars.discourse-cdn.com/v4/letter/n/4491bb/32.png) [@najamul.hashmi](https://matillioncommunity.discourse.group/u/najamul.hashmi)\
**Post date:** [March 3, 2022, 3:40pm UTC](https://matillioncommunity.discourse.group/t/invalid-xml-markup-expected-xml-but-instead-found-text-html-charset-utf-8/1675/2 "2022-03-03T15:40:38Z")

</div>

Has anybody used SharePoint Query with OAuth successfully? I would appreciate your input how you did it.. Online Docs cover happy endings and are very basics... Anyone?
