# Xano Test data source API error

**URL:** <https://community.weweb.io/t/xano-test-data-source-api-error/4005>\
**Category:** Ask us anything\
**Tags:** xano\
**Created:** [August 24, 2023, 12:06pm UTC](https://community.weweb.io/t/xano-test-data-source-api-error/4005 "2023-08-24T12:06:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anna.fae](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/anna.fae/32/776_2.png) [@Anna.fae](https://community.weweb.io/u/Anna.fae)\
**Post date:** [August 24, 2023, 12:06pm UTC](https://community.weweb.io/t/xano-test-data-source-api-error/4005/1 "2023-08-24T12:06:19Z")

</div>

I try to use Test data source just adding a header “X-Data-Source: test” in both Xano plugins (Auth & Xano).  
I get 500 error “Invalid data source” when trying to create test user (sign up) and login with test user.

Whet does it mean? Is it Weweb side or Xano side?

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [August 24, 2023, 5:06pm UTC](https://community.weweb.io/t/xano-test-data-source-api-error/4005/2 "2023-08-24T17:06:56Z")

</div>

It means you have to create a Data Source named “test” on your Xano =\> [Data Sources - Xano Documentation](https://docs.xano.com/database/data-sources)

---

<div class="post-metadata">

**Author:** ![Anna.fae](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/anna.fae/32/776_2.png) [@Anna.fae](https://community.weweb.io/u/Anna.fae)\
**Post date:** [August 24, 2023, 5:09pm UTC](https://community.weweb.io/t/xano-test-data-source-api-error/4005/3 "2023-08-24T17:09:46Z")

</div>

Yep I have created one and I have records there. I will contact Xano team then if this is not weweb issue

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [August 25, 2023, 9:33am UTC](https://community.weweb.io/t/xano-test-data-source-api-error/4005/4 "2023-08-25T09:33:01Z")

</div>

Did you used this step to configure your data source ?

 ![Capture d’écran 2023-08-25 à 11.32.23](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/c/c9e932b991b9ca800a4e1cb913229e50724f0c6a.png)
