INVALID_ARGUMENT: search attribute JobID is not defined

I registered a custom search attribute (JobID) in the Temporal Helm chart, specifically in the admintools-deployment.yaml file. After that, I attempted to update the custom search attribute (JobID) in a Spring Boot API service using the following code: Workflow.upsertTypedSearchAttributes(
SearchAttributeUpdate.valueSet(
SearchAttributeKey.forKeyword(“JobID”),
importJobId
)
); However, I’m encountering the following error: io.grpc.StatusRuntimeException: INVALID_ARGUMENT: search attribute JobID is not defined.