I am using Named Credential to call Tooling API.
I'm seeing this warning on Named Credential and keep losing access to it. Keep getting Invalid Session Id error every few hours.
"The authentication provider didn't provide a refresh token. If the access token expires, your org won't be able to access this named credential."
I tried giving Named Credential scope as "refresh_token full" but it failed to authenticate the named credential.
full refresh_token offline_access