Forum Discussion
Error ColdStoreNotSupportedForMessageException when sending message MS Teams via Graph API.
I'm using the Graph API to send a message to a Microsoft Teams channel, but I'm getting the following error.
Endpoint: https://graph.microsoft.com/v1.0/teams/{team_id}/channels/{channel_id}/messages
Reference: https://learn.microsoft.com/ja-jp/graph/api/chatmessage-post?view=graph-rest-1.0&tabs=http#http-request
Error response:
{
"code": "NotFound",
"message": "NotFound",
"innerError": {
"code": "1",
"message": "MessageNotFound-Message does not exist in the thread: ColdStoreNotSupportedForMessageException:ColdStoreMessageOperations is not supported if cutOffColdStoreEpoch is not provided. (msgVersion:1773201279001, cutoff:1773137924398)",
"date": "2026-03-17T10:18:44",
"request-id": "7e4d1acd-05d0-4ff6-82ac-4cf0549bfa56",
"client-request-id": "7e4d1acd-05d0-4ff6-82ac-4cf0549bfa56"
}
}
I couldn't find any documentation related to ColdStoreNotSupportedForMessageException. Has anyone encountered this before or have any insight into what's causing it?
3 Replies
- KimchhunCopper Contributor
Hello Nivedipa-MSFT - Thanks for the response.
It's a reply. I verified on my end that endpoint (I posted incorrect endpoint) and message-id are correct.
Could you please let us know in what scenario this leads to a ColdStoreNotSupportedForMessageException, and if there is any documentation related to the required internal parameters (cutOffColdStoreEpoch)?
I believe this could be a backend issue or an edge case, as the same code has been running for quite some time without any issues. Please refer to the information in error response attached in above post for the request ID and timestamp for further investigation.
- KimchhunCopper Contributor
Hello Nivedipa-MSFT - Thanks for the response.
It's a reply message. I checked on my side that endpoint and message-id is correct.
Could you please let us know in what scenario that lead to ColdStoreNotSupportedForMessageException and any documentation related to the required internal parameter (cutOffColdStoreEpoch)?
I think it could be a backend issue or an edge case since the same code has been running for quite some time without any issues. Please refer to attached error response for the request ID and timestamp for further investigation.
- Nivedipa-MSFT
Microsoft
Hello Kimchhun - Thanks for bringing this issue to our attention.
The “cold store” error typically occurs when your request is handled as if it should operate on an existing thread or message—such as in a reply or parent-message scenario—but the required internal parameter (cutOffColdStoreEpoch) is missing and cannot be set via Graph.
Here’s how to address it quickly:
- To post a new top-level message, ensure you’re using the correct endpoint (without {message-id}):
POST /teams/{team-id}/channels/{channel-id}/messages and include at least body.content. - If replying to a message, use:
POST /teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies and verify that {message-id} is valid. - If the error persists even with a minimal payload (just body.content) and correct IDs, it may be a backend issue or an edge case. Please provide the request ID, timestamp, and tenant ID for further investigation.
- To post a new top-level message, ensure you’re using the correct endpoint (without {message-id}):