Skip to content

Gmails with no google account #10

@dofi4ka

Description

@dofi4ka

Describe the bug

If you try to add any gmail without associated google account (or just gmail that does not exist), Google API will return unusual error which is not handled by API

{
  "detail": "<HttpError 400 when requesting https://www.googleapis.com/drive/v3/files/1tR7HLnbsYYc0-HkvPcX9Tp3b5u0CgzifSBYUe1gqwQc/permissions?sendNotificationEmail=false&alt=json returned \"Bad Request. User message: \"You are trying to invite [email protected]. Since there is no Google account associated with this email address, you must check the \"Notify people\" box to invite this recipient.\"\". Details: \"[{'message': 'Bad Request. User message: \"You are trying to invite [email protected]. Since there is no Google account associated with this email address, you must check the \"Notify people\" box to invite this recipient.\"', 'domain': 'global', 'reason': 'invalidSharingRequest'}]\">"
}

Reproduction

  1. Join to any document using random gmail that does not exist

Screenshots / Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    👀 In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions