Why can't I push from local to remote?

I have completed a significant amount of work in the Wix local editor. I need to push it to the remote server, but when I try I get a suitably cryptic message, saying:


Can someone please provide any useful details on what/why this is, where I can find info about it in the future, and most importantly, a workaround to get the data on the site asap. Thank you.

Hey, maybe it’s an authentication issue, try this:
Close the local editor and reopen it, before your project opens in a Local Editor, if you are not already authenticated, a Wix authentication screen will open where you must enter your Wix credentials.
Your work is saved on your PC (Local) so you will probably not lose any data.

Hi, thanks for the reply. I have tried to close and reopen the editor, with no effect. I only had to enter authentication details when I first created the project, and am not presented with a new auth window when starting the editor from cli. Also, when I follow the link embedded in the app to go to my live Dashboard, it works. It does not appear to be an authentication issue. Thanks for your help, anyways; I appreciate the effort.

@marschells
I sent a message in our internal chat.
I can’t promise anything, but I hope you will receive a solution by tomorrow.

Hi,
Please open the local editor via this command:

npx corvid-debug open-editor

It’ll open the local editor with the developer console enabled.

Try to push again and copy-paste here any errors you see in the browser’s developer console.
Also, please attach your “.corvid/session.log” file.

I hope these will help us find the cause for the failure.

Hi, thanks for the prompt response.

Here is the error message:

saveRunner.js:458

Save has failed - please see the failure details below:

errorCode: -10104

errorDescription: “[business][RECOVERABLE][Data Access Layer] c.w.h.e.e.SiteValidationFailedException - Site validation failed with:
ValidationFailurePayload { siteId=bedbd51c-ed23-4a5e-85c7-81c61f11010f, StyleReferenceMismatch=MutableList(StyleReferenceMismatch{styleId=style-kjgms25l}, StyleReferenceMismatch{styleId=style-kj0v6op6}, StyleReferenceMismatch{styleId=style-kj0v6op6}),PropertyReferenceMismatch=MutableList(ComponentPropertyMismatch{propertyReference=propItem-kjgnw7re}, ComponentPropertyMismatch{propertyReference=propItem-kjgnw7re}),MissingReference=MutableList(MissingReference(NodeId(dataItem-kj0v6op3,document_data,None),comp-kj0v6okh), MissingReference(NodeId(connection-kj0v6opj,connections_data,None),comp-kj0v6okh), MissingReference(NodeId(dataItem-kjgn8t1p,document_data,None),comp-kjgn8t0n), MissingReference(NodeId(connection-kjgn8t1s,connections_data,None),comp-kjgn8t0n), MissingReference(NodeId(dataItem-kj0v6op3,document_data,None),comp-kj0v6okh), MissingReference(NodeId(connection-kj0v6opj,connections_data,None),comp-kj0v6okh), MissingReference(NodeId(dataItem-kjgn8t1p,document_data,None),comp-kjgn8t0n), MissingReference(NodeId(connection-kjgn8t1s,connections_data,None),comp-kjgn8t0n)) }”

errorType: “UNKNOWN_SERVER_ERROR”

Session log is attached as well. Thanks again.

@marschells
Hello again,

In order to be able to debug this case better, we need to have the contents of the site that you are trying to push.
Is there a way you could either create a git repo to which we will be have access or send us the local contents via a zip file ?

In addition, if you’re already keeping the local changes in a git repo (or some other versioning tool), it might be a good idea to try and go back to a previous version that does work.
If you’re not working with some versioning tool, i strongly advise you to in the future, since when using corvid-cli & doing changes locally, wix is not able to keep history revisions of your changes.