sqlite3 module is required for the SqliteCache error when run in AWS Lambda

142 views
Skip to first unread message

yl...@pangeare.com

unread,
Apr 24, 2019, 4:59:43 PM4/24/19
to AdWords API and Google Ads API Forum
A Python script used to download google adwords report. Which runs without any issue locally.
The script is something like:

client = adwords.AdWordsClient.LoadFromStorage('googleads.yaml')
report_downloader = client.GetReportDownloader(version='v201809')

However, when I deploy this in AWS lambda, I got error message:

{
  "errorMessage": "sqlite3 module is required for the SqliteCache",
  "errorType": "RuntimeError",
  "stackTrace": [
    [
      "/var/task/lambda_function.py",
      24,
      "lambda_handler",
      "report_downloader = client.GetReportDownloader(version='v201809')"
    ]
 
The aws lambda env is python 3.6. Any suggestion?

googleadsapi...@google.com

unread,
Apr 25, 2019, 1:09:59 AM4/25/19
to AdWords API and Google Ads API Forum
Hi,

Thank you for reaching out. Your concern appears to be a client library issue. With this said, you can open your concern to the Python GitHub Issue Tracker as the client library owners are better equipped in answering your concerns.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/81514f7e-8f05-452c-a6f2-614a927b624d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages