[GH-ISSUE #5755] [bug]: Importing Postman collections reports 'TypeError: e.replaceAll is not a function' in console #2246

Open
opened 2026-03-16 23:42:47 +03:00 by kerem · 1 comment
Owner

Originally created by @Kieranties on GitHub (Jan 7, 2026).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5755

Originally assigned to: @anwarulislam on GitHub.

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Platform

Desktop App

Browser

Chrome

Operating System

Windows

Bug Description

What Happened?

I am investigating using Hoppscotch instead of ApiDog. I have exported my collection in Postman format and have a 2482KB json file to import.
Once the import is started, the spinner presents persistently and the results of the import are not returned.

Investigating the debug console I can see the following:

index-Bz-1a4NM.js:2  TypeError: e.replaceAll is not a function
    at s_ (har-Buf4uEwB.js:1:2290695)
    at Yt (index-Bz-1a4NM.js:2:281232)
    at Tr (har-Buf4uEwB.js:1:2291536)
    at har-Buf4uEwB.js:1:2294025
    at Array.map (<anonymous>)
    at FU (har-Buf4uEwB.js:1:2293979)
    at zU (har-Buf4uEwB.js:1:2295646)
    at Array.map (<anonymous>)
    at GU (har-Buf4uEwB.js:1:2295284)
    at har-Buf4uEwB.js:1:2295231

I have verified that the import works correctly in postman.
Unfortunately I cannot provide the import file as it is an internal api

Deployment Type

Hoppscotch Cloud

Version

No response

Originally created by @Kieranties on GitHub (Jan 7, 2026). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5755 Originally assigned to: @anwarulislam on GitHub. ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Platform Desktop App ### Browser Chrome ### Operating System Windows ### Bug Description ## What Happened? I am investigating using Hoppscotch instead of ApiDog. I have exported my collection in Postman format and have a 2482KB json file to import. Once the import is started, the spinner presents persistently and the results of the import are not returned. Investigating the debug console I can see the following: ``` index-Bz-1a4NM.js:2 TypeError: e.replaceAll is not a function at s_ (har-Buf4uEwB.js:1:2290695) at Yt (index-Bz-1a4NM.js:2:281232) at Tr (har-Buf4uEwB.js:1:2291536) at har-Buf4uEwB.js:1:2294025 at Array.map (<anonymous>) at FU (har-Buf4uEwB.js:1:2293979) at zU (har-Buf4uEwB.js:1:2295646) at Array.map (<anonymous>) at GU (har-Buf4uEwB.js:1:2295284) at har-Buf4uEwB.js:1:2295231 ``` I have verified that the import works correctly in postman. Unfortunately I cannot provide the import file as it is an internal api ### Deployment Type Hoppscotch Cloud ### Version _No response_
Author
Owner

@icyerasor commented on GitHub (Feb 4, 2026):

I have a very similar error when importing >10kb files from postman; the error is

TypeError: t.replace is not a function
    at index-Ca4huOAq.js:2:289510
    at index-Ca4huOAq.js:2:281541
    at har-DRRXQ9r7.js:1:1040722
    at index-Ca4huOAq.js:2:286743
    at Array.map (<anonymous>)
    at index-Ca4huOAq.js:2:286720
    at Yt (index-Ca4huOAq.js:2:282156)
    at kd (har-DRRXQ9r7.js:1:1040651)
    at har-DRRXQ9r7.js:1:1041434
    at index-Ca4huOAq.js:2:286743
<!-- gh-comment-id:3850304588 --> @icyerasor commented on GitHub (Feb 4, 2026): I have a very similar error when importing >10kb files from postman; the error is ``` TypeError: t.replace is not a function at index-Ca4huOAq.js:2:289510 at index-Ca4huOAq.js:2:281541 at har-DRRXQ9r7.js:1:1040722 at index-Ca4huOAq.js:2:286743 at Array.map (<anonymous>) at index-Ca4huOAq.js:2:286720 at Yt (index-Ca4huOAq.js:2:282156) at kd (har-DRRXQ9r7.js:1:1040651) at har-DRRXQ9r7.js:1:1041434 at index-Ca4huOAq.js:2:286743 ```
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#2246
No description provided.