POST lists/members/create_all API gives an error like {"errors":[{"message":"Could not authenticate you","code":32}],"httpstatus":401}


#1

First is use POST lists/create API from which i get following data :
{ “full_name”:“XXXXXXX”,
“user”:{
“id_str”:“626368972”,
“profile_image_url_https”:“https://abs.twimg.com/sticky/default_profile_images/default_profile_5_normal.png”,
“name”:“XXXX”,
“profile_background_image_url”:“http://abs.twimg.com/images/themes/theme1/bg.png”,
“geo_enabled”:true,
“statuses_count”:136,
“profile_link_color”:“0084B4”,
“following”:false,
“favourites_count”:41,
“url”:null,
“screen_name”:“XXXXX”,
“contributors_enabled”:false,
“id”:626368972,
“verified”:false,
“profile_image_url”:“http://abs.twimg.com/sticky/default_profile_images/default_profile_5_normal.png”,
“location”:null,
“friends_count”:36,
“profile_use_background_image”:true,
“default_profile_image”:true,
“profile_background_image_url_https”:“https://abs.twimg.com/images/themes/theme1/bg.png”,
“profile_text_color”:“333333”,
“followers_count”:7,
“created_at”:“Wed Jul 04 10:52:45 +0000 2012”,
“notifications”:false,
“time_zone”:null,
“utc_offset”:null,
“profile_sidebar_border_color”:“C0DEED”,
“default_profile”:true,
“entities”:{
“description”:{
“urls”:[
]
}
},
“profile_background_tile”:false,
“protected”:false,
“is_translator”:false,
“description”:null,
“profile_sidebar_fill_color”:“DDEEF6”,
“listed_count”:1,
“lang”:“en”,
“follow_request_sent”:false,
“profile_background_color”:“C0DEED”
},
“member_count”:0,
“slug”:“XXXX”,
“id_str”:“107374878”,
“uri”:“XXXXX”,
“subscriber_count”:0,
“id”:107374878,
“mode”:“public”,
“following”:false,
“created_at”:“Thu Mar 06 05:50:01 +0000 2014”,
“description”:“XXXX”,
“name”:“XXXXX”,
“httpstatus”:200

}
from which i use id_str and slug for POST lists/members/create_all API and screen_name=XXXXX,XXXXX,XXXXX for members