Hi everyone,
I am building a custom GPT to create draft emails in a users Gmail account.
The issue that I am facing is that the payload my GPT sends is truncated most of the time, even though the content is not that big.
Here is the payload sent by it:
Test GPT needs to send this info to gmail googleapis com
`{“message”:{“raw”:"VG86IGdvb2dsZUVtYWlsQGV4YW1wbGUuY29tClN1YmplY3Q6IFRlc3QgZW1haWwgd2l0aCB0ZXh0CkhlcmUgaXMgc29tZSByYW5kb20gdGV4IEkgd2FudCB0byBiZSBzYXZlZCBhcyBhIGRyYWZ0LgpCbGEgQmxhIEJsYUJsYSBCbGEgQmxhQmxhIEJsYSBCbGFCbGEgQmxhIEJsYUJsYSBCbGEgQmxhQmxhIEJsYSBCbGFCbGEgQmxhIEJsYUJsYSBCbGEgQmxhQmxhIEJsYSBCbGFCbGEgQmxhIEJsYUJsYSBCbGEgQmxhQmxhIEJsYSBCbGFCbGEgQmxhIEJsYUJsYSBCbGEgQmxhQmxhIEJsYSBCbGFCbGEgQmxhIEJsYUJsYSBCbGEgQmxhQmxhIEJsYSBCbGFCbGEgQmxhIEJsYUJsYSBCbGEgQmxhQmxhIEJsYSBCbGFCbGEgQmxhIEJsYUJsYSBCbGEgQmxhQmxhIEJsYSBCbGFCbGEgQmxhIEJsYUJsYSBCbGEgQmxhQmxhIEJsYSBCbGFCbGEgQmxhIEJsYUJsYSBCbGEgQmxhQmxhIEJsYSBCbGFCbGEgQmxhIEJsYUJsYSBCbGEgQmxhQmxhIEJsYSBCbGFCbGEgQmxhIEJsYUJsYSBCb
as you can see the payload is incomplete. Therefore, I get this response:
response_data": “ApiSyntaxError: Could not parse API call kwargs as JSON: exception=Unterminated string starting at: line 1 column 19 (char 18) url=gmail API here”
I cannot pinpoint why the issue is happening and I would appreciate any suggestions.
Thank you!