Skip to content

[I ran into an issue] Step 1: Start migration Existing chat migration -- {"error":{"code":"PreconditionFailed" #14265

@jonnyguo1988

Description

@jonnyguo1988

Type of issue

Feature doesn't work (bug)

Feedback

The api https://learn.microsoft.com/en-us/graph/api/chat-startmigration?view=graph-rest-beta&tabs=http got PreconditionFailed error for OneOnOne chat. Double checked it works with group chat.

Request:- {Method: POST, RequestUri: 'https://graph.microsoft.com/beta/chats/19:33f61913-6889-4171-b0e5-eca115831bbb_bf28dd13-801e-4f70-b12d-97087b57a7f0@unq.gbl.spaces/startMigration', Version: 1.1, Content: {"conversationCreationDateTime":"2022-02-24T23:56:40Z"}, Headers:
{
Authorization: Bearer ***
Content-Type: application/json; charset=utf-8
Content-Length: 55
}}

Response

{"error":{"code":"PreconditionFailed","message":"PreconditionFailed","innerError":{"code":"1","message":"PreconditionFailed-Version mismatch for thread resource.","date":"2026-04-13T05:51:05","request-id":"eb1517d3-489e-4507-abab-0e6fbd674be9","client-request-id":"eb1517d3-489e-4507-abab-0e6fbd674be9"}}}

Page URL

https://learn.microsoft.com/en-us/microsoftteams/platform/graph-api/import-messages/import-external-messages-to-teams#step-five-add-team-members

Content source URL

https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/graph-api/import-messages/import-external-messages-to-teams.md

Author

@AkJo

Document Id

ce77e760-90cf-e6b1-3cec-ae55ee50c33e

Platform Id

c9cc8ad3-6c28-7c8c-af03-219bbefa1d38

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions