/
AEM: How to increase the API REST token refresh frequency

AEM: How to increase the API REST token refresh frequency

Introduction

By default, a scheduled job refreshes the API REST token every day at 06:00 AM. Given the configuration of your XTM Cloud instance, this time interval might not be sufficient and a token expiration issue might occur.


Guidelines

There are two options solving this problem:

I. Changing the token refresh interval by adjusting the AEM OSGi configuration

  1. Go to Adobe Experience Manager → Tools → OperationsWeb Console.

  1. Using the CRTL + F key combination, search for XTM REST Token Refresh Scheduler.

  1. Change the CRON expression to the required value.

EXAMPLE: The value 0 0/5 * ? * * * will refresh the token every 5 minutes.

Refer to the following Cron expression generator if you need help with configuring a suitable and valid a cron expression.

II. Prolong the token life span by making a change in the XTM configuration

If you would like to use this method, a help from the XTM International Support team is necessary. Contact us by creating a suitable ticket and providing details of your request in it.

Related content

AEM: How to restart the TranslationConfigService component
AEM: How to restart the TranslationConfigService component
Read with this
AEM: How to change the scheduling time for project-related actions in the connector
AEM: How to change the scheduling time for project-related actions in the connector
More like this
AEM: How to check the REST API connection
AEM: How to check the REST API connection
More like this
XTM Connect - AEM 2.5.0-6.5.10 and Cloud-2022.12.10488
XTM Connect - AEM 2.5.0-6.5.10 and Cloud-2022.12.10488
More like this
XTM Connect - AEM 2.7.0-6.5.20 and 2.7.0-Cloud-2024.7.17098
XTM Connect - AEM 2.7.0-6.5.20 and 2.7.0-Cloud-2024.7.17098
More like this
XTM Connect - AEM 1.5.4
XTM Connect - AEM 1.5.4
More like this