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

v4 driver - empty 200 response throws protocol error #694

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Conversation

mwilde345
Copy link
Member

@mwilde345 mwilde345 commented Dec 16, 2024

Description

https://faunadb.atlassian.net/browse/FE-6237

Core router may return a 200 with an empty response, indicating an issue on their end. See LSE
Don't try to parse that like we do a normal response, instead throw a protocol error.

How was the change tested?

Added a query test

Tests have all passed at one time or another in CircleCI, but I get 429s from auth0 sometimes so it's flaky

Screenshots (if appropriate):

Change types

    • Bug fix (non-breaking change that fixes an issue)

@mwilde345 mwilde345 changed the title empty 200 response throws protocol error v4 driver - empty 200 response throws protocol error Dec 16, 2024
@mwilde345 mwilde345 requested review from ptpaterson and a team December 16, 2024 23:08
@mwilde345 mwilde345 merged commit 6cdbf67 into v4 Dec 17, 2024
5 of 6 checks passed
@mwilde345 mwilde345 deleted the protocol-error branch December 17, 2024 17:49
@mwilde345 mwilde345 mentioned this pull request Dec 18, 2024
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

Successfully merging this pull request may close these issues.

2 participants