Gmail Data Source sync failed -> No cloudwatch logs (on Amazon Q & Amazon Kendra)

0

I have set up an Amazon Q application to evaluate Amazon Q on the content of a gmail account by following the documentation. When trying to sync the data source, I have a "Sync Failed" error message after a couple of minutes. There is a "View in CloudWatch" link in the details column on the line corresponding to the failed sync attempt, but I have an error when running the associated query in cloudwatch:

ResourceNotFoundException: Log group '/aws/qbusiness/fe3f4ee8-9b85-4fb5-8fac-b2486fcc650c' does not exist for account ID '342508195621'

I am stuck since I can not understand what happened, being blind without any logs to give me a hint.

Can you help ?

Thanks.

已提问 3 个月前264 查看次数
3 回答
1

Unless the log group gets randomly auto-generated each time, try creating CloudWatch log group /aws/qbusiness/fe3f4ee8-9b85-4fb5-8fac-b2486fcc650c in account 342508195621, then rerun.

To create a log group

  1. In the AWS Console, search for CloudWatch service, then open the CloudWatch console
  2. In the navigation pane, choose Log groups.
  3. Choose Actions, and then choose Create log group.
  4. Enter the name for the log group, and then choose Create log group.

If this helps solve your problem, please choose this as the Accepted Answer so others on re:Post may benefit - thank you!

profile pictureAWS
已回答 3 个月前
profile picture
专家
已审核 1 个月前
  • Thanks for your answer Eric.

    In fact, I did try this trick, and it won't do the job. I do not have the missing cloud watch log group error anymore, but I do not have any log entry and no logstream gets populated upon the sync error, keeping me blind on what went wrong.

0

Hi, Birdie_007

Try upgrading the Gmail app if need be and clearing cache.

profile pictureAWS
已回答 3 个月前
  • Hi Eric, I am a bit lost with your answer: Which gmail app are you refering to ? I do not have a choice on the version of the gmail connector that I select in kendra or q...

0

I investigated further and tried to do the same in kendra using a gmail connector to populate a kendra index. And the sympotms are the same: sync error and, again, the log group which doesn't exist. When creating it manually, it doesn't get populated.

It seems a gmail connector issue more than an Amazon Q issue by itself.

Thanks for any hint to help me understand what is wrong with my config or the connector.

已回答 3 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则