Curl error: Invalid App Infoempty