Error Using jobtemplateid For Single Job Template Only



This question is related to creating jobs via the API. More specifically, creating jobs via the API using the *"jobtemplateid" field. We are seeing an error when attempting to create a job from only one particular job template. We are including the details of the API call below.

Interestingly, we can make the exact same API call in the customer's test environment (test environment is populated with data copied from production) using the same system ID in the jobtemplateid field and the call is successful.

What could be causing the error in the production environment only? We can't find any other job profiles in production with the same system ID or external ID of the job template we're attempting to use. And again, we only see the error below for this specific job template. There shouldn't be an issue with the jobtemplateid field because we can create other jobs with the same field. The job template is active, and we don't see any search locks that would prevent our API user from accessing the problematic job template.

URL: https://api.icims.com/customers/{customerid}/jobs
Body:
{

"jobtemplateid": 7086,
"recruiter": {
"id": 768949
},
"field20769": "Hourly, Non-Exempt"
}

Error Message:

{
"errors": [
{
"errorMessage": "An internal error occurred.",
"errorCode": 0
}
]
}

API Call Transaction ID: d3fe420b-c4be-4f9b-ac7e-026aa32afbab