We’ve been building workflows in n8n for our company and encountered a recurring issue with OAuth2 token refresh. The issue arises when using HTTP tools for AI agents. Although n8n should refresh the token automatically once it expires, we found that after 24 hours, the HTTP tools stop working due to missing credentials. Video and workflow below are examples of a call to HighLevel oAuth2 API.
Interestingly, running a single HTTP request node calling the API seems to refresh the token and restores functionality for all HTTP tools for 24 hours. It took us quite a while to troubleshoot and pinpoint this behavior. Me or Perplexity couldn’t find this being a known issue.