Session expired or invalid when I checked Generate Authorization Header check box on Named Credential then error went off.