Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
[X] I have searched the tracker for existing similar issues and I know that duplicates will be closed
Describe the Issue
When I modify my collection in VSC Extension, then open the collection in Postman client, "calculated when request is sent" headers are duplicated and breaking the request (400 Bad Request). It doesn't make a difference if I make sure Postman and VS Code are not running at the same time. Also, the headers are often being marked as auto-generated and deletion and disabling are blocked in this event. I can't determine if the problem is with the VS Code extension or the Postman Client because I can't export the collection from VS Code.
Steps To Reproduce
Close Postman if running
Open VS Code
Modify any test script, leaving the headers unchanged and save
Close VS Code
Open Postman
Review headers of modified test
Expected Behavior
Headers are unchanged
Actual Behavior
1 or more headers are duplicated. Deletion is blocked and sometimes disabling is blocked.
Workarounds
Close postman client and vs code. Open collection in Postman web client. Modify each test, remove duplicate headers where possible, and save. Open in Postman local client.
export collection json, remove all headers with '"value": "<calculated when request is sent>"' from request.header in collection json, import back into Postman.
Is there an existing issue for this?
Describe the Issue
When I modify my collection in VSC Extension, then open the collection in Postman client, "calculated when request is sent" headers are duplicated and breaking the request (400 Bad Request). It doesn't make a difference if I make sure Postman and VS Code are not running at the same time. Also, the headers are often being marked as auto-generated and deletion and disabling are blocked in this event. I can't determine if the problem is with the VS Code extension or the Postman Client because I can't export the collection from VS Code.
Steps To Reproduce
Expected Behavior
Actual Behavior
Workarounds
Screenshots or Videos
Operating System
Windows
Postman Version
Postman=v11.16.0, VS Code Postman=v1.3.0
Postman Platform
Postman VSCode Extension
User Account Type
Signed In User
Additional Context?
No response