Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error(400) When trying to set fake_bcc options on transaction API #91

Closed
prafful1234 opened this issue Jan 12, 2022 · 1 comment
Closed

Comments

@prafful1234
Copy link
Contributor

prafful1234 commented Jan 12, 2022

Found this issue on transaction API where by default the value for fake_bcc is true and due to this, it leads to parent recipient's name + email is appended to the subject.

When trying to disable this option and following the error encountered with the library, whereas it works fine on the API side.

CustomerIORequestError: Request entity must be JSON encoded and not exceed 3024 KB.

fake_bcc should be a boolean as on the API and seem to be the cause of this issue, when types are overwritten and we pass a boolean value for fake_bcc things work fine on API as well as with CURL.

Please suggest if any additional updates would be required, adding an issue for tracking.

Will send a fix soon.

@prafful1234 prafful1234 changed the title Error(400) When trying to set face_bcc options on transaction API Error(400) When trying to set fake_bcc options on transaction API Jan 12, 2022
@mike-engel
Copy link
Collaborator

This should now be fixed in 3.1.1. Thanks @prafful1234!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants