Failed to verify Keycloak Token

Hi,
I am trying to call keycloak client with access_token, so that it wont redirect to login page for accessing the client. But Keycloak redirects to login page and shows below error in keycloak logs

[org.keycloak.services.managers.AuthenticationManager] (default task-8) Failed to verify identity token: Token type is incorrect. Expected ‘Serialized-ID’ but was ‘Bearer’

Thanks in advance for any suggestions.