{"record":{"id":"dda487a429cb4436","repo":"hashicorp/nomad","slug":"error-updating-enterprise-features-v","errorCode":null,"errorMessage":"error updating enterprise features: %v","messagePattern":"error updating enterprise features: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"nomad/state/state_store.go","lineNumber":4158,"sourceCode":"\t\tcopyAlloc.DeploymentStatus.ModifyIndex = index\n\t}\n\n\t// Update the modify index\n\tcopyAlloc.ModifyIndex = index\n\n\t// Update the modify time\n\tcopyAlloc.ModifyTime = alloc.ModifyTime\n\n\tif err := s.updateDeploymentWithAlloc(index, copyAlloc, exist, txn); err != nil {\n\t\treturn nil, fmt.Errorf(\"error updating deployment: %v\", err)\n\t}\n\n\tif err := s.updateSummaryWithAlloc(index, copyAlloc, exist, txn); err != nil {\n\t\treturn nil, fmt.Errorf(\"error updating job summary: %v\", err)\n\t}\n\n\tif err := s.updateEntWithAlloc(index, copyAlloc, exist, txn); err != nil {\n\t\treturn nil, fmt.Errorf(\"error updating enterprise features: %v\", err)\n\t}\n\n\tif err := s.updatePluginForTerminalAlloc(index, copyAlloc, txn); err != nil {\n\t\treturn nil, fmt.Errorf(\"error updating plugin for terminal alloc: %v\", err)\n\t}\n\n\tif err := s.cancelFollowupEvalsForReconnect(txn, index, copyAlloc, alloc); err != nil {\n\t\treturn nil, err\n\t}\n\n\t// Update the allocation\n\tif err := txn.Insert(\"allocs\", copyAlloc); err != nil {\n\t\treturn nil, fmt.Errorf(\"alloc insert failed: %v\", err)\n\t}\n\n\tif err := s.deregisterServicesForTerminalAllocs(txn, index, copyAlloc); err != nil {\n\t\treturn nil, fmt.Errorf(\"error deregistering services for terminal allocs: %v\", err)\n\t}","sourceCodeStart":4140,"sourceCodeEnd":4176,"githubUrl":"https://github.com/hashicorp/nomad/blob/482b49bf1aec006f089bcfc7e632d8f6ac303e5e/nomad/state/state_store.go#L4140-L4176","documentation":"While applying an allocation update, the enterprise extension hook updateEntWithAlloc failed; the wrapped error aborts the alloc upsert and comes from Nomad Enterprise feature state handling.","triggerScenarios":"Thrown at nomad/state/state_store.go:4158 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the allocation update","Inspect server logs for the underlying enterprise feature error","Verify licensed enterprise features are functioning"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"482b49bf1aec006f089bcfc7e632d8f6ac303e5e","analyzedAt":"2026-09-04T07:54:14.808Z","contentChangedAt":"2026-09-04T07:54:14.808Z","schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}