External APIs throwing error after 2-3 ideal time
Created a service connection with SFDC REST APIs that are OAuth enabled and populating the data on UI. It's working fine.
When I don't work on the application for 2-3 hours and log in again than a page shows an error "Error response during RestAction". The console shows a 401 Unauthorized error.
When I test the service connection then also it throws the same error "401 Unauthorized".
After updating the same OAuth credentials it works fine.
Can someone suggest is this known bug or issue. How to resolve this.