adobe / adobe/experience-platform-postman-samples

All APIs - Concurrent modification issue while removing blank headers

Open
#62 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
100
Forks
146
PR merge metrics
No merged PRs in 30d

Description

In Postman 10.7.1 for MacOS, `pm.request.headers.each()` in the pre-request script fails when removing headers while iterating over them:
> TypeError: Cannot read properties of undefined (reading 'value')

See details provided in #61.

Contributor guide

Open the contributing guide

Research direction

Start with the pre-request script usage of pm.request.headers.each() described here and compare it with the details in issue #61. Reproduce the failure in Postman 10.7.1 on macOS while removing blank headers during iteration; done means the iteration no longer raises the reported TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
postman
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.