Getting no handler found for this uri error while creating snapshot management policy in cluster version 2.3

Getting this error {
“error” : “no handler found for uri [/_plugins/_sm/policies/daily-policy] and method [POST]”
}
when I copy and run code on dev tools after making changes accrding to me while creating a snapshot management policy for clutser version 2.3

link for code - Snapshot management API - OpenSearch documentation

You command is incorrect, forgot an “i”

POST _plugins/_ism/policies/daily-policy

HI @Gsmitt
code is correct. It will be sm only . It is for snapshot management(sm). Copied code from this link
Snapshot management API - OpenSearch documentation

Please help why I am getting error then {
“error” : “no handler found for uri [/_plugins/_sm/policies/daily-policy] and method [POST]”
}

Hey @hello

I understand now, I did some testing in my lab but unfortunately I cant replicate that issue.
I also see another issue here but doesnt look like it got resolved

Have you check Opensearch/Opensearch-Dashboard logs?, perhaps there might be a clue

@hello What do you get when you run the below API request?

GET _plugins/_ism/policies

Could you also share the output of the below API request?

GET _cat/plugins

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.