Map the Rarity "Basic" back to the old "Common"

 This change is needed due to the fact that the old TP-API used "Common" as second lowest rarity type. The v2 API however uses "Basic".

I also forgot to mention that we now check the http code that is returned and cancel the operation, if an exit code different than 200 is returned.