# Fatal: Authentication failed

**URL:** <https://discuss.huggingface.co/t/fatal-authentication-failed/24606>\
**Category:** Beginners\
**Created:** [October 18, 2022, 12:13pm UTC](https://discuss.huggingface.co/t/fatal-authentication-failed/24606 "2022-10-18T12:13:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andyrasika](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/andyrasika/32/31603_2.png) [@Andyrasika](https://discuss.huggingface.co/u/Andyrasika)\
**Post date:** [October 18, 2022, 12:13pm UTC](https://discuss.huggingface.co/t/fatal-authentication-failed/24606/1 "2022-10-18T12:13:24Z")

</div>

Hello Everyone,  
While trying to run the following:  
from transformers import Seq2SeqTrainer

trainer = Seq2SeqTrainer(  
model,  
args,  
train\_dataset=tokenized\_datasets[“train”],  
eval\_dataset=tokenized\_datasets[“test”],  
data\_collator=data\_collator,  
tokenizer=tokenizer,  
compute\_metrics=compute\_metrics\_1  
)

I am getting the following error:  
CalledProcessError Traceback (most recent call last)  
/usr/local/lib/python3.7/dist-packages/huggingface\_hub/repository.py in git\_pull(self, rebase, lfs)  
1090 command,  
 → 1091 self.local\_dir,  
1092 )

5 frames  
CalledProcessError: Command ‘[‘git’, ‘pull’]’ returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

OSError Traceback (most recent call last)  
/usr/local/lib/python3.7/dist-packages/huggingface\_hub/repository.py in git\_pull(self, rebase, lfs)  
1093 logger.info(result.stdout)  
1094 except subprocess.CalledProcessError as exc:  
 → 1095 raise EnvironmentError(exc.stderr)  
1096  
1097 def git\_add(

OSError: fatal: Authentication failed

Can someone assist to identify the reason for failure?  
Thanks,  
Andy
