这是indexloc提供的服务,不要输入任何密码
Skip to content

Importing Insomnia request that contains a date query param fails #6095

@Totalus

Description

@Totalus

I have checked the following:

  • I have searched existing issues and found nothing related to my issue.

This bug is:

  • making Bruno unusable for me
  • slowing me down but I'm able to continue working
  • annoying
  • this feature was working in a previous version but is broken in the current release.

Bruno version

2.14.2

Operating System

Linux

Describe the bug

Importing an Insomnia collection with requests that contain query param representing as dates fails.

Image

Source of the problem

Image

Bruno seems to assume that the value field gets decoded as string, which is not the case when the value is a date. It is probably decoded as a JSDate. That is why the match method does not exist on the object.

Side Note

The doc about insomnia import seems a bit outdated (it mentions to use json export, but insomnia now uses yaml).

To Reproduce

Here's a sample of collection export that reproduces the issue. Save as yaml and try to import.

type: collection.insomnia.rest/5.0
name: MyCollection
meta:
  id: wrk_08e7d90dbce84c84a3ef1edbd8ce1f2e
  created: 1763064992994
  modified: 1763065106803
  description: ""
collection:
  - url: https://example.com/
    name: MyRequest
    meta:
      id: req_677b954dd81c46ef90e405e36d2eb727
      created: 1763064997489
      modified: 1763065097890
      isPrivate: false
      description: ""
      sortKey: -1763064997489
    method: GET
    parameters:
      - id: pair_3db0e0ba07ff4823b85d48208a57c874
        name: from
        value: 2025-10-03
        description: ""
        disabled: false
    headers:
      - name: User-Agent
        value: insomnia/11.6.2
    settings:
      renderRequestBody: true
      encodeUrl: true
      followRedirects: global
      cookies:
        send: true
        store: true
      rebuildPath: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions