Facing an issue with SAP OASG job that fails to start.
The OAuth access token is 10K, and as result the following error is thrown when trying to add the job variable storing the access token to the Authorization header in the HTTP job.
Status/[Event] Time Ntry ES ProcessTime Machine ---------------------------- --------------------- -- -- --------------------- ------- STARTING 10/07/2025 08:37:45 1 PD 10/07/2025 08:37:45 <hostname>.<example>.com [*** ALARM ***] STARTJOBFAIL 10/07/2025 08:37:45 1 PD 10/07/2025 08:37:46 <hostname>.<example>.com <CAUAJM_E_10377 Expanded value for attribute <headers> exceeds 4000 characters. Job 'job_name' cannot start.>
AutoSys Release: All supported releases
Due to exceeding the 4000 character limitation which is defined within the AutoSys database. As result, the job will not even attempt to start.
When the limit is exceeded, the following exception is thrown in the event_demon.<INSTANCE> log file.
<CAUAJM_E_10377 Expanded value for attribute <headers> exceeds 4000 characters. Job 'job_name' cannot start.>
Execute the following SQL statements on the AutoSys database to set the max keyword data length to 32K.
This should prevent the error.
DELETE ujo_meta_rules where dep_keyword='headers' AND rule_name='maxheaders'; INSERT INTO ujo_meta_rules(data, dep_keyword, keyword_data, rule_name, is_esj) VALUES ('<NOT_NULL>', 'headers', '<MAXLEN=32000>', 'maxheaders', 0);