Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localization sometimes fails with a 409: Conflict - Version Mismatch #18

Open
AndrewBresee opened this issue Feb 24, 2017 · 0 comments
Open

Comments

@AndrewBresee
Copy link
Contributor

Currently the script does not handle the 409 error that sometimes occurs.

This error does not happen every time, but when it does occur it is because the version is not being included with the updated entry.

However, there does not seem to be a way to include version number with the contentful-management module. See the update() method.

One solution is just to run the script multiple times. But this will re-enter entries that did update successfully.

The proper solutions to this would be to catalog the entries that fail, including the timestamp, then running the script again on only these entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant