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.

asked 3 months ago249 views
3 Answers
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
answered 3 months ago
profile picture
EXPERT
reviewed a month ago
  • 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
answered 3 months ago
  • 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.

answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions