I'm trying to remove a specific item from a FourSquare list, I was originally using the Foursquare2 gem but have been debugging with HTTParty. I'm doing the following request:
HTTParty.post("https://api.foursquare.com/v2/lists/#{list.id}/deleteitem?v=20120321&itemId=#{item.foursquare_id}&oauth_token=#{ENV['FOURSQUARE_TOKEN']}")
I'm sure that the list id and item id are correct, I double checked, but I get the following response:
param_error: Value is invalid for item id (400)