This is indeed an odd error message that seems to be emanating from the Mail API when attempting to sent bounce notifications to the */_ah/bounce* endpoint of your application. If you believe this to be an issue with the platform, I'd recommend filing a new issue on the App Engine public issue tracker <https://code.google.com/p/googleappengine/issues/list>. Be sure to include the following in your report:
- The minimal code from your application required to reproduce this error, most importantly the code using the Mail API and the code handling requests to the */_ah/bounce* endpoint - A timeline of when this issue began and/or ended - Any other relevant logs you think may be related If/when filing a public issue, feel free to link to it here so that others that may also be encountering this can follow through and support the report. Thanks for your patience. On Wednesday, January 18, 2017 at 5:13:00 PM UTC-5, johnP wrote: > > 24 hours ago started getting constant errors - it's not even hitting my > code... > > 'str' object has no attribute 'get_payload' > Traceback (most recent call last): > File > "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", > line 1535, in __call__ > rv = self.handle_exception(request, response, e) > File > "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", > line 1529, in __call__ > rv = self.router.dispatch(request, response) > File > "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", > line 1278, in default_dispatcher > return route.handler_adapter(request, response) > File > "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", > line 1102, in __call__ > return handler.dispatch() > File > "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", > line 572, in dispatch > return self.handle_exception(e, self.app.debug) > File > "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", > line 570, in dispatch > return method(*args, **kwargs) > File > "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/webapp/mail_handlers.py", > line 114, in post > self.receive(BounceNotification(self.request.POST)) > File > "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/webapp/mail_handlers.py", > line 168, in __init__ > post_vars.get('raw-message', '')) > File > "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/mail.py", > line 939, in __init__ > self.update_from_mime_message(mime_message) > File > "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/mail.py", > line 1513, in update_from_mime_message > super(InboundEmailMessage, self).update_from_mime_message(mime_message) > File > "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/mail.py", > line 1422, in update_from_mime_message > super(EmailMessage, self).update_from_mime_message(mime_message) > File > "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/mail.py", > line 1295, in update_from_mime_message > self._update_payload(mime_message) > File > "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/mail.py", > line 1228, in _update_payload > self._update_payload(alternative) > File > "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/mail.py", > line 1223, in _update_payload > payload = mime_message.get_payload() > AttributeError: 'str' object has no attribute 'get_payload' > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/86ec890d-a80b-485a-8f31-361fa860f44e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.