If there are multiple concurrent processes that are making API calls, they might be invalidating a token that another process is currently using. You can apply for access to a workaround in Server-to-Server OAuth: annoying token-invalidation.
1 Like