thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.64k stars 130 forks source link

Import collection with request auth set is not supported #1403

Closed ghost closed 11 months ago

ghost commented 11 months ago

Describe the bug

It seems if an auth configuration exists the import of a collection will fail silently.

To Reproduce

Import following JSON:

{
    "info": {
        "_postman_id": "cf6aba3d-5aa0-4f4e-925c-7c77c51d672a",
        "name": "Schedule",
        "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
        "_exporter_id": "11112222333"
    },
    "item": [
        {
            "name": "https://some.test.workers.dev/",
            "request": {
                "auth": {
                    "type": "basic",
                    "basic": {
                        "password": "my-top-secret-api-pass-word",
                        "username": "api"
                    }
                },
                "method": "POST",
                "header": [],
                "url": "https://some.test.workers.dev"
            },
            "response": []
        }
    ]
}

Expected behavior

The collection should be imported with 1 request.

Platform:

Are you using the free version/paid version/trial:

rangav commented 11 months ago

Hi @Plausible0Bug

Postman import 2.0.0 format is not supported

Please export in 2.1.0 format in Postman app

rangav commented 11 months ago

I am closing this issue, feel free to reopen if needed