[GH-ISSUE #1032] TextDecoder.decode() TypeError hangs the whole app #361

Closed
opened 2026-03-16 14:54:18 +03:00 by kerem · 3 comments
Owner

Originally created by @ushuz on GitHub (Jul 30, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1032

Describe the bug

Postwomen keeps raising following exception on a failed request, and hanging the app. I have to use browser's task manager to kill it. Screenshot below.

TypeError: Failed to execute 'decode' on 'TextDecoder': The provided value is not of type '(ArraryBuffer or ArrayBufferView)

To Reproduce
Steps to reproduce the behavior:

  1. Send an empty POST requests to https://www.feishu.cn/approval/openapi/v2/approval/get
  2. See error

Expected behavior

Display the error response without hanging the app.

Screenshots

image

Desktop (please complete the following information):

  • OS: macOS 10.15.6
  • Browser: Edge 84.0.522.48
  • Postwomen Version: v1.9.7
Originally created by @ushuz on GitHub (Jul 30, 2020). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1032 **Describe the bug** Postwomen keeps raising following exception on a failed request, and hanging the app. I have to use browser's task manager to kill it. Screenshot below. ``` TypeError: Failed to execute 'decode' on 'TextDecoder': The provided value is not of type '(ArraryBuffer or ArrayBufferView) ``` **To Reproduce** Steps to reproduce the behavior: 1. Send an empty POST requests to `https://www.feishu.cn/approval/openapi/v2/approval/get` 4. See error **Expected behavior** Display the error response without hanging the app. **Screenshots** ![image](https://user-images.githubusercontent.com/1430856/88879358-a0833900-d25c-11ea-9e75-f0fc9a72441f.png) **Desktop (please complete the following information):** - OS: macOS 10.15.6 - Browser: Edge 84.0.522.48 - Postwomen Version: v1.9.7
kerem 2026-03-16 14:54:18 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@liyasthomas commented on GitHub (Jul 30, 2020):

@AndrewBastin issue with extension.

<!-- gh-comment-id:666119016 --> @liyasthomas commented on GitHub (Jul 30, 2020): @AndrewBastin issue with extension.
Author
Owner

@AndrewBastin commented on GitHub (Jul 30, 2020):

This seems to be an issue with the extension. I will open the issue on the extension and I will start working on a fix.

<!-- gh-comment-id:666182875 --> @AndrewBastin commented on GitHub (Jul 30, 2020): This seems to be an issue with the extension. I will open the issue on the extension and I will start working on a fix.
Author
Owner

@AndrewBastin commented on GitHub (Jul 31, 2020):

@ushuz the update with the fix is being rolled with the 0.15 browser extension update!

It is live on Firefox right now. Will let you know when it is live on Chrome ^_^

<!-- gh-comment-id:666902140 --> @AndrewBastin commented on GitHub (Jul 31, 2020): @ushuz the update with the fix is being rolled with the 0.15 browser extension update! It is live on Firefox right now. Will let you know when it is live on Chrome ^_^
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#361
No description provided.