Sometimes when IABot analyzes a link from a new site, it fails to find the paywall_id for the site and then errors when it tries to insert a record into the externallinks_global table with a null paywall_id:
ERROR: 1048: Column 'paywall_id' cannot be null
It seems to work on subsequent tries, since at that point the site has a record in the externallinks_paywall table.