hi i accidently upgrade and now i am trying to downgrade but it say i phone cannot restore an unknown eror occured then it says (1)

i bealive it error 1 what is error 1

please please someone help

i was on 1.02. and i was using my current at@t sim.

please please help

thanks