# Why am I unable to access my Wix CMS collection via the Data API despite having correct permissions and publishing the collection?

**URL:** <https://forum.wixstudio.com/t/why-am-i-unable-to-access-my-wix-cms-collection-via-the-data-api-despite-having-correct-permissions-and-publishing-the-collection/66160>\
**Category:** Ask the community\
**Tags:** api, cms, code, question\
**Created:** [December 23, 2024, 2:57pm UTC](https://forum.wixstudio.com/t/why-am-i-unable-to-access-my-wix-cms-collection-via-the-data-api-despite-having-correct-permissions-and-publishing-the-collection/66160 "2024-12-23T14:57:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlos\_H](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/carlos_h/32/102170_2.png) [@Carlos\_H](https://forum.wixstudio.com/u/Carlos_H)\
**Post date:** [December 23, 2024, 2:57pm UTC](https://forum.wixstudio.com/t/why-am-i-unable-to-access-my-wix-cms-collection-via-the-data-api-despite-having-correct-permissions-and-publishing-the-collection/66160/1 "2024-12-23T14:57:59Z")

</div>

Why am I unable to access my Wix CMS collection via the Data API despite having correct permissions and publishing the collection?

I am trying to sync my Google Drive files with my Wix CMS collection named `AllAccessMembership`. I want to pull data via the Data API to automate updates. Specifically, I am trying to access collection metadata or fetch items using the `https://www.wixapis.com/data/v2/collections/AllAccessMembership` endpoint.

What I’ve tried:

1. Confirmed the collection ID (`AllAccessMembership`) matches across Wix CMS and API requests.
2. Published the site and the CMS collection multiple times.
3. Verified that API key permissions are set to full access for all Data API endpoints.
4. Checked collection permissions (View: Everyone, Add/Update/Delete: Admin).
5. Used `curl` and Postman to send requests, which consistently return 404 errors.
6. Verified network connectivity (able to ping `wixapis.com`).
7. Followed Wix documentation for Data API setup and ensured proper authorization headers.

Additional information:

- The response for every API request is a 404 error, which typically implies the collection is not accessible, yet everything appears correctly configured on my end.
- I have spent considerable time troubleshooting this, including reconfirming the setup against Wix’s documentation.

Any guidance or insights would be greatly appreciated. If there’s something I’m missing, or if this is a known issue, please let me know.

---

<div class="post-metadata">

**Author:** ![onemoretime](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/onemoretime/32/104023_2.png) [@onemoretime](https://forum.wixstudio.com/u/onemoretime)\
**Post date:** [December 24, 2024, 5:54am UTC](https://forum.wixstudio.com/t/why-am-i-unable-to-access-my-wix-cms-collection-via-the-data-api-despite-having-correct-permissions-and-publishing-the-collection/66160/2 "2024-12-24T05:54:30Z")

</div>

Hi, Carlos\_H !!

This reference might be helpful. 😉

> **[About Custom Site APIs](https://dev.wix.com/docs/develop-websites/articles/coding-with-velo/integrations/exposing-services/about-custom-site-apis)**
>
> Custom site APIs allow you to expose your site's functionality externally. This means that you, or other people, can access your site's functionality by calling your custom site APIs.

---

<div class="post-metadata">

**Author:** ![Carlos\_H](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/carlos_h/32/102170_2.png) [@Carlos\_H](https://forum.wixstudio.com/u/Carlos_H)\
**Post date:** [December 24, 2024, 3:06pm UTC](https://forum.wixstudio.com/t/why-am-i-unable-to-access-my-wix-cms-collection-via-the-data-api-despite-having-correct-permissions-and-publishing-the-collection/66160/3 "2024-12-24T15:06:55Z")

</div>

Thank you! That is exactly what I needed.
