Forum Discussion
mjseong
Jul 24, 2025Copper Contributor
Java MIP SDK 1.17.154: commitAsync() TemplateNotFoundError (C# OK; Java fails Win & Ubuntu)
TL;DR Java SDK 1.17.154: calling setLabel() then commitAsync() fails with TemplateNotFoundError (TemplateId=2ea3c830-...). Same label/code works on Java 1.16.x and C# 1.17.154. Policy cache clear...
johnavery
Sep 24, 2025Copper Contributor
I had this same problem with v1.17.137 in C#. I tried upgrading to 1.17.154 as you suggested, but to no avail. I even tried latest version 1.17.158 as of this writing, but the issue remains. I had to roll back to version 1.16.159 to get things working again. It seems this behavior was introduced in 1.17.x. On my end, I get this error when attempting to apply a label to a file that has an encrypted protection template associated with it. I hope someone on the MIP SDK team sees this - if this is not fixed, I'll be unable to upgrade past v1.16.159. Please help!