Login Process permission is not granted


Hi developers,
I developing twitter smart tv applications, i stuck in this login process,it is not granted by twitter,

  1. I got consumer key and access token correctly ,after that i got bad authentication data,error 401
  2. I using the rest api v1.1

Give some idea to overcome this problem to enter me into twitter