Skip to content

Error saving mail attachments #200

@danieladelarosa

Description

@danieladelarosa

Hello, Im writing this message to ask for your help with an issue that I have with the gmailr package. I am using this package to download csv files from daily mails that we receive, however, I have a problem with one specific mail, where I get the following error:

Error in gm_attachment(part$body$attachmentId, x$id, user_id) :
is_string(id) is not TRUE

It´s the first time that I got this error, and this is my code

my_threads <- gm_threads(search=query)
my_threads

thread <- gm_message(my_threads$id)
gm_save_attachments(thread)

the thread id is the following: 191995f8972e3dd7 and I still can´t figure out why I get this error if this is a string

Could you please help me? Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    reprexneeds a minimal reproducible example

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions