I am getting the access_token using Username-Password OAuth Authentication Flow.
When I create the connected app in Salesforce to get the client Id and consumer Key I set Refresh Token Policy to Refresh token is valid until revoked.
At this time everything is OK but some hours later I get this error when I tried to access to my webservice 'Session Id is invalid'.
Why is invalid If I have used this Refresh Token Policy???