Troubleshooting & FAQs
Unable to target users using group properties
If you are having trouble using group properties in your targeting rule, confirm that you've done the following:
- Initialized Dopt with the
groupId
- Identified a group with the properties you are targeting on
- Associated user(s) with a group
- Use the
group.properties.PROPERTY_NAME
syntax for accessing group properties in targeting rules
Content security policy (CSP)
If you have a content security policy in place, you may need to add the following in order to allow connections to Dopt:
connect-src https://*.dopt.com wss://*.dopt.com;
Global CSS cannot be imported from within node_modules error when using components with Next.js
When using Dopt UI components with Next.js, you'll need to transpile the component in next.config.js
. Learn more in our Next.js components guide →
TypeError: Unknown file extension ".css" error when using components
When using Dopt UI components, you'll need to make sure that your bundler is configured to interpret CSS imports via JS otherwise the component styles will not be loaded and you may run into a build error. Check out our framework specific docs for more info →