Contentful logo

Contentful Community

409 VersionMismatch when using contentful-migration

Hi,

I’m trying to transform content using the contentful-migration package.

When applying the migration i get the following errors:

VersionMismatch: {
  "status": 409,
  "statusText": "Conflict",
  "message": "",
  "details": {},
  "request": {
    "url": "SPACEID/environments/development//entries/5RjOdpyw55hJq0UBLXhKqq",
    "headers": {
      "Accept": "application/json, text/plain, */*",
      "Content-Type": "application/vnd.contentful.management.v1+json",
      "X-Contentful-User-Agent": "app contentful.cli/1.4.39; feature space-migration; sdk contentful-management.js/5.28.0; platform node.js/v12.18.3; os macOS/19.6.0;",
      "Authorization": "Bearer ...3FnPs",
      "user-agent": "node.js/v12.18.3",
      "Accept-Encoding": "gzip",
      "X-Contentful-Version": 7,
      "X-Contentful-Content-Type": "subgenre",
      "Content-Length": 439
    },
    "method": "put",
    "payloadData": { I've removed this myself to share the response },
  "requestId": "1db0a46c67b14e44e1cc0d8353ca7612"
}

Hi @adam.ham.iap,

I have seen your ticket in Support. I will follow with you there to try to find the issue behind the error :slight_smile: