[GH-ISSUE #2255] [bug]: "Could not send request", but request was sent, and a response has been received #777

Closed
opened 2026-03-16 17:09:28 +03:00 by kerem · 3 comments
Owner

Originally created by @syrm on GitHub (Apr 12, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2255

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When i do a GET on "https://api.publicapis.org/entriesWRONGPATH"
The Response panel should be shown with detail informations, its a 404 error etc.

Instead I see "Could not send request"

Steps to reproduce

  1. Go to REST
  2. Set method to GET
  3. Set URL to https://api.publicapis.org/entriesWRONGPATH
  4. Hit the Send button
  5. I can see "Could not send request"

But in Chrome console i can see the response of the request : Status code 404

Environment

Production

Version

Self-hosted

Originally created by @syrm on GitHub (Apr 12, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2255 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When i do a GET on "https://api.publicapis.org/entriesWRONGPATH" The Response panel should be shown with detail informations, its a 404 error etc. Instead I see "Could not send request" ### Steps to reproduce 1. Go to REST 2. Set method to GET 3. Set URL to https://api.publicapis.org/entriesWRONGPATH 4. Hit the Send button 5. I can see "Could not send request" But in Chrome console i can see the response of the request : Status code 404 ### Environment Production ### Version Self-hosted
kerem 2026-03-16 17:09:28 +03:00
Author
Owner

@liyasthomas commented on GitHub (Apr 12, 2022):

Seems like you were trying to hit an API endpoint with CORS restrictions.

To fix CORS restrictions and access responses, goto Hoppscotch Settings > Interceptor section > Turn on Proxy mode.

Feel free to reopen the issue if issue still persist.

<!-- gh-comment-id:1096748634 --> @liyasthomas commented on GitHub (Apr 12, 2022): Seems like you were trying to hit an API endpoint with `CORS` restrictions. To fix `CORS` restrictions and access responses, goto [Hoppscotch Settings](https://hoppscotch.io/settings) > Interceptor section > Turn on Proxy mode. Feel free to reopen the issue if issue still persist.
Author
Owner

@syrm commented on GitHub (Apr 12, 2022):

Same problem with proxy turned on.
The problem is not related to CORS.

I mean even if CORS block the request, we should see this in Response section

<!-- gh-comment-id:1096753779 --> @syrm commented on GitHub (Apr 12, 2022): Same problem with proxy turned on. The problem is not related to CORS. I mean even if CORS block the request, we should see this in Response section
Author
Owner

@Imtiaz-Ali17314 commented on GitHub (Apr 8, 2025):

I am trying to send a patch request with content type form urlencoded form hoppscotch on this url : http://localhost:8080/posts/d6cf2f68-acff-4a00-a5ca-8104ae3f346f
The request sent and status is 200, But its request body shown undefined.
How to resolve this Problem?

<!-- gh-comment-id:2785850564 --> @Imtiaz-Ali17314 commented on GitHub (Apr 8, 2025): I am trying to send a patch request with content type form urlencoded form hoppscotch on this url : http://localhost:8080/posts/d6cf2f68-acff-4a00-a5ca-8104ae3f346f The request sent and status is 200, But its request body shown undefined. How to resolve this Problem?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#777
No description provided.