CMS: Troubleshooting Collection Issues
Managing collections in your CMS (Content Management System) can sometimes present challenges. Whether it's connecting page elements, setting permissions, or syncing content, troubleshooting these issues ensures your site runs smoothly. For example, imagine a real estate agent who updates property listings but finds the new properties aren't displaying correctly on their site. This guide will help you resolve such problems.Tip: You can troubleshoot many collection issues from the new View Connections page in your collection. This feature is not yet available in all Wix accounts.  
Go to CMS in your site's dashboard.  Click the relevant collection. Click More Actions at the top right and select View Connections.In this article, find out how to:
Check your page elements connection Check your collection permissions Sync your optional sandbox and live collections Check your dataset mode Check your browser settings Check issues with adding to a collection Check your collection field types Frequently asked questions (FAQs)Check your page elements connectionsAfter creating a collection and adding a dataset to your page, ensure all elements and user inputs are connected to the dataset. This guarantees that the content displays correctly. Ensure every element, such as images, text, and buttons, is properly connected to the relevant dataset.Learn how to check the dataset connections between your elements and your collections. Check your collection permissionsPermissions control who can view, create, update, and delete content in a collection. Make sure you have the correct permissions set and that they align with the roles of your site users.Learn how to check your collection permissions to make sure they're properly set. Sync your optional sandbox and live collectionsIf you have enabled sandbox collections, remember that changes in one do not affect the other. Sync the content to ensure updates take effect. Regularly sync your collections to prevent discrepancies between sandbox and live collection data.If you've enabled sandbox collections, learn how to sync your sandbox and live collection content. Check your dataset modeDatasets control how site visitors interact with the content in your collections. Ensure your dataset is set to the appropriate mode. You can choose from the following dataset modes: 
Read: Connected elements can read and display content from your collection. The elements cannot modify the collection content.  Write: Connected elements cannot display content from the collection. Input elements can add content to the collection but cannot modify the collection's existing content.   Read & Write: Connected elements can display content from your collection. Input elements can add or edit content in your collection. Learn how to edit your dataset mode and other dataset settings. Check your browser settingsIf your browser blocks third-party cookies, you may have trouble displaying or editing your content. Make sure your browser is not blocking any Wix cookies.Check issues with adding to a collectionSeveral scenarios can prevent you from adding items to a collection. Here’s how to troubleshoot common problems:Not enough permissions to add an itemWith limited access, you can read or update existing content but not add new items. This error message will display: "You don't have permission to add items to a collection. Contact the owner for access."To resolve: Contact the owner of the site and ask them to assign you a role with more permissions.  Wix App Collections and external collectionsWix App Collections (e.g. Blog, Stores, Events) are read-only by default. External collections may have mixed permissions. The error message will display: "You can't add items to this type of collection."To resolve: Open the relevant section from within the dashboard (e.g. Blog, Stores) and add the item. For external collections, ask the site owner to adjust the settings.The server returns a collection item ID errorThis error can occur for various reasons, displaying an error message over the collection content area. The collection header and options, including the + Add Item button, are still visible.To resolve: Refresh the collection and try to add an item again. If the issue persists, contact Customer Care.A collection is not available (deleted, doesn't exist or the server can't find it)If a collection is deleted or unavailable, an error message will display to let you know. To resolve:  If a collection was deleted accidentally, use backups to restore it. Check your collection field typesThe collection field type determines what kind of data you can store in the collection fields. For example, you can store only number values in a Number field type. Elements you connect to the CMS also have limitations on which types of fields they can connect. For example, the Rich Content element can only connect to the Rich Content field type.If you're having issues with storing the correct kind of data in your fields or connecting elements to them, check that you're using the correct field types. Learn more about the types of content you can store in each collection field type. FAQsClick below to learn how to troubleshoot other collection issues. Why do I get this message: "Collection didn't load due to a syntax error"?This error can occur if you're using Velo and data hooks. If you get this error, review your data.js file and confirm that the syntax and formatting is correct. Learn more about using data hooks in Velo. Why do I get a "Server didn't respond" error when my collection doesn't load?If you get a "Server didn't respond" error message, refresh the page and try again. If it still doesn't load, go to the Monitoring Dashboard, click the Data requests tab and select the relevant collection. Then check the error codes in the Failed data requests by error section to learn how to resolve the issue. Watch a tutorial on monitoring your code for performance and error handling in the Wix Studio academy. If you still need help, contact us for support. Why does it take my collection so long to load?If you have thousands of items or a large number of referenced items, it may take longer than expected for your collection to load. You can solve this issue by adding indexes to larger collections or the collections that are being referenced. For example, if a collection has 10 items, but has multi-reference fields for 20 other collections, the collection with 10 items might load slowly. In this case, you could use an index in the 20 referenced collections to improve the data recovery speed. Still need help?If the problem persists, contact us, and we will be happy to help.