An error (1015) has occured while iam restoring my iphone 3g

an error has occured while iam restoring my iphone 3g "The IPhone "iphone" could not be restored. An unknown error occurred (1015)
how to fix my pblm plz help me
Plug in the phone to iTunes and hold in both buttons until the apple logo comes on the let go of the power button until the plug logo comes on.

Original thread: https://forums.imore.com/threads/an-error-1015-has-occured-while-iam-restoring-my-iphone-3g.274308/