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

Plaid: Get more info about malformed JSON #526

Open
rgalanakis opened this issue Jan 7, 2024 · 0 comments
Open

Plaid: Get more info about malformed JSON #526

rgalanakis opened this issue Jan 7, 2024 · 0 comments
Labels
bug Something is not working right/as expected. enterprise Issue involves work specific to WebhookDB Enterprise integrations or support. integration New API integration/replicator.
Milestone

Comments

@rgalanakis
Copy link
Contributor

rgalanakis commented Jan 7, 2024

Sometimes this code errors:

# http.rb
body = body.to_json if !body.is_a?(String) && headers["Content-Type"].include?("json")

With the error:

JSON::GeneratorError
source sequence is illegal/malformed utf-8

As per https://sentry.io/organizations/lithic-technology/issues/3644630748/?project=5983263

I have no idea what the problem is, but it's from Plaid. Add some more info around the exception so we can see the malformed body we're sending, then put in a fix.

Migrated from webhookdb-api#526. Opened by @rgalanakis

Opened at: 2022-10-28T23:20:08Z

@rgalanakis rgalanakis added this to the 999 - Future milestone Jan 7, 2024
@rgalanakis rgalanakis added bug Something is not working right/as expected. integration New API integration/replicator. enterprise Issue involves work specific to WebhookDB Enterprise integrations or support. labels Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working right/as expected. enterprise Issue involves work specific to WebhookDB Enterprise integrations or support. integration New API integration/replicator.
Projects
None yet
Development

No branches or pull requests

1 participant