GMail API : unable to add an attachment in a draft

前端 未结 3 1646
不思量自难忘°
不思量自难忘° 2021-01-15 19:40

I am able to create simple html-only drafts using the GMail API.

But when I try to upload attachments it fails with the following error :

{
  \"code\         


        
3条回答
  •  南笙
    南笙 (楼主)
    2021-01-15 20:11

    I think that code is reasonable. Can you provide the output from the email.writeTo(System.out) to confirm? Seems like a bug in the Gmail API.

    Is this repeatable for any specific user? (Does it always fail or will it eventually work?)

    Does it happen for all users or only certain users (e.g. does it work for gmail.com users and not for Google Apps users)?

提交回复
热议问题