An error occured while loading participant conversation #102
-
Describe the bug As an administrator, I created a new project and configured the portal editor to be open for participation. To Reproduce
Version
Additional context The error appears on a self hosted environment. While navigating in the participant portal, there is HTTP requests with a 403 status code coming from Directus in network panel : Body:
In Directus, I don't have any collection named Hypothesis Thank you ! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
ECHO-128 An error occured while loading participant conversation |
Beta Was this translation helpful? Give feedback.
-
@Quentinchampenois , the error occurred because the "echo__portal_tutorial" cards are being fetched from the Directus-hosted version of Dembrane's data, rather than the self-hosted "directus" instance we use locally. To resolve this, you can update the URL in your "config.ts" file back to "https://dembrane.directus.app/", and it should work as expected. This is the default setting in "config.ts" when "Echo" is initially set up: Alternatively, if you have set the "VITE_DIRECTUS_CONTENT_PUBLIC_URL" yourself, you’ll need to remove that. If not, you would need to create the following collections for the setup to work properly:
The simplest solution would be to revert the URL to its original setting. Let me know if you need further assistance. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the explanations and the help @ussaama, it works well now ! Reverting the |
Beta Was this translation helpful? Give feedback.
@Quentinchampenois , the error occurred because the "echo__portal_tutorial" cards are being fetched from the Directus-hosted version of Dembrane's data, rather than the self-hosted "directus" instance we use locally. To resolve this, you can update the URL in your "config.ts" file back to "https://dembrane.directus.app/", and it should work as expected.
This is the default setting in "config.ts" when "Echo" is initially set up:
Alternatively, if you have set the "VITE_DIRECTUS_CONTENT_PUBLIC_URL" yourself, you’ll need to remove that. If not, you would need to create the following collections for the setup to work properly:
echo__portal_tutorial
echo__portal_tutorial_cards
The simpl…