Skip to content

Conversation

@wildemat
Copy link

@wildemat wildemat 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)

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

3 participants