tauroid
#1
Hi,
I’m managing to authenticate and create a list using /lists/create, but then populating it with /lists/members/create_all is giving me a 401 “could not authenticate you”.
I’m using list_id=12345 (from the just created list) in the url and user_id=abc,xyz,123,… in the POST body. Both are making it, percent encoded twice over (commas become %252C), into the oauth base string (commas are unencoded in the request body, guessing this is right?). I’ve tried sleeping for 5 seconds in case it hasn’t propagated the list across the servers yet but no luck. I’m pushing about 30 ids but intend to use the full 100 that it says I can use.
I can’t see what would be going differently in the OAuth part compared to /lists/create so I wondered if anyone knows what might be going on, or what a known good path is for this endpoint? Or “works for me” would tell me at least to look in my code and not wonder about Twitter’s side 
Thanks
1 Like
tauroid
#2
There is still an authentication failure on just one id in user_id (no commas), so I really can’t see how this is different to the working /lists/create call. A permission I’m missing?
tauroid
#3
I forgot to include the body in the request. My bad!
2 Likes
Happens to the best of us! Glad this is resolved!
1 Like
system
Closed
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.