Issue with Lifecycle Policy Compatibility in Elasticsearch 8.15.2

Hi,
Below is the lifecycle policy I used with Elasticsearch version 7.17.9, where it was working successfully. However, the same policy is not functioning as expected with Elasticsearch version 8.15.2. I would greatly appreciate any assistance in resolving this issue.
PUT _ilm/policy/test-dev
{
"policy": {
"phases": {
"hot": {
"min_age": "0ms",
"actions": {}
},
"warm": {
"min_age": "3d",
"actions": {}
},
"cold": {
"min_age": "5d",
"actions": {}
},
"delete" : {
"min_age" : "7d",
"actions" : {
"delete" : {
"delete_searchable_snapshot" : true
},
"wait_for_snapshot" : {
"policy" : "test-dev"
}
}
}
}
}
}