You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a number of endpoints that return the 204 HTTP status code when handling DELETE requests. These are currently throwing an error because of the attempt to parse the body (
), however, for these responses there isn't a body. To handle this I think that didReceiveResponse should check the status code before attempting to parse the body.
The text was updated successfully, but these errors were encountered:
We have a number of endpoints that return the
204
HTTP status code when handlingDELETE
requests. These are currently throwing an error because of the attempt to parse the body (apollo-server/packages/apollo-datasource-rest/src/RESTDataSource.ts
Line 94 in c908fac
didReceiveResponse
should check the status code before attempting to parse the body.The text was updated successfully, but these errors were encountered: