Variable substitution

Hi There,

I have an api request that uses Environment Variables:
https://{{endpoint}}/v1/apps/{{projectId}}

Both variables are defined and with an initial value, if I hover on the Request URL I can see that both {{endpoint}} and {{projectId}} are correctly evaluated by the tool.

When I send my request, only {{endpoint}} is correctly substituted with my initial value, for {{projectId}} Postman assigns a random value (12345678901234567890123456789012).

Any clue why this is happening?

Cheers.

We’re closing out older posts with no replies to keep the community organized. If you still need help with this issue, feel free to post a new topic. For variable substitution, the pm.variables.replaceIn() function can be used. More information can be found here.