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:
- Confirmed the collection ID (
AllAccessMembership
) matches across Wix CMS and API requests. - Published the site and the CMS collection multiple times.
- Verified that API key permissions are set to full access for all Data API endpoints.
- Checked collection permissions (View: Everyone, Add/Update/Delete: Admin).
- Used
curl
and Postman to send requests, which consistently return 404 errors. - Verified network connectivity (able to ping
wixapis.com
). - 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.