I enabled the multi environments to my Prismic repository so I would try to add a second environment.
Nothing wrong, my second environment is created. I try to publish a document inside this environment but when I click on "Publish it now" which is what I want to do, I get the following error : "Error - Click to retry"
I can click a thousand times I always have the error.
Moreover I need to configure a webhook to this second environment, but when it's trigger there is no "masterRef" inside of its payload. Usually there is one. Is that normal ?
If someone could help me to fix these errors, it would be really appreciated
I will try to help you on this, to do so can you take a screen recording of the error you are getting as well as the error you get from chrome console if you are a developer.
And I order to be able to debug this on my side I would like you to share with me your repository name (in a direct message if necessary ).
But I also noticed the document I've tried to publish got published after clicking on publish and it seems it is not a blocking error, correct me if I'm mistaken.
Anyway, I have created an issue in our issue tracker regarding this and will let you know once we have any updates.
I would like to have the same shape on both environment. The purpose why I chose to take multi environments repository is to keep the same logic and have the possibility to sync environment data inside another one. For now I can't trigger my webhook because there is no masterRef key ...
I just tried and I still have the same error and the same payload shape. Do I have to do something in particular ? Delete and create the subenvironment ?