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 ran into this same problem in C# w/ version 1.17.137. Upgraded to 1.17.154 and 1.17.158 and the issue is still there Had to roll back to 1.16.159 to get around it. The problem occurs when attempting to commit a label to a file, when that label has an encrypted protection template applied to it. Seems like a breaking change may have been introduced in 1.17.x somewhere in the C++ code. I didn't see any mention of a change in protection behavior in the release notes for 1.17.x. I hope someone on the SDK team catches and fixes this, or I'll be unable to upgrade my package past 1.16.159. Please help!