AttributeError: 'NoneType' object has no attribute 'format' - Google Cloud

290 Views Asked by At

I have such an erorr in Google Cloud: "AttributeError: 'NoneType' object has no attribute 'format'02:24".. Because of that my BQ table don't have any data inside. Can somebody help me? I am trying to implement Facebook Ads -> BQ connector (https://medium.com/beardsanalytics/writing-your-data-connector-from-facebook-ads-to-google-bigquery-670caeff8262)

except requests.exceptions.RequestException as e:
            logger.error('request to currencylayer error: {}').format(e)
            return e

enter image description here

1

There are 1 best solutions below

1
kubri81 On

It should be

   except requests.exceptions.RequestException as e:
            logger.error('request to currencylayer error: {}'.format(e))
            raise e