All calls to the plugin that get the credentials as an argument must include an error to handle invalid credentials.