Open augur-absorb opened 1 month ago
Have experienced exactly the same thing. There appears to be extraneous commas all throughout the *-export.json
file.
Hello! Same issue here on Mac Sonoma. I tried with several previous versions of the CLI but same result.
I also have this problem (this is the first few lines of a 20,000,000 line export):
{
"contentTypes":,
[
{"sys":
{"space":
{"sys":
{"type":
"Link" "linkType":,
"Space" "id":,
"xxxxxxxxxx"
}
} "id":,
"resource" "type":,
"ContentType" "createdAt":,
"2021-11-09T18:00:11.040Z" "updatedAt":,
"2022-11-14T15:33:06.034Z" "environment":,
{"sys":
{"id":
"master" "type":,
"Link" "linkType":,
"Environment"
}
} "publishedVersion":,
31 "publishedAt":,
There are properties with no values and it looks like some values are being outputted in the wrong place.
This means that we can't back up Contentful at the moment. And we can't create a new web site based on a previous web site.
Running on Windows 11 with the latest version of the CLI.
A recent contentful-cli release of v3.3.12 fixed this issue for us
Expected Behavior
contentful space export --config migration-configs/export-contentModel-layout.json
Will export a clean JSON representing the Model (layout) I want to export using the following config:
Actual Behavior
The output is a mess, here is a snippet
I am expecting to run the command, as I have many times in the past, and to produce a well-structured JSON.
Possible Solution
Steps to Reproduce
contentful space export --config migration-configs/export-contentModel-layout.json
Context
Environment