# The env variable of params does not take effect in Pre-requet-Script

**URL:** <https://community.postman.com/t/the-env-variable-of-params-does-not-take-effect-in-pre-requet-script/37423>\
**Category:** Help Hub\
**Tags:** environments, url-params\
**Created:** [July 21, 2022, 8:43am UTC](https://community.postman.com/t/the-env-variable-of-params-does-not-take-effect-in-pre-requet-script/37423 "2022-07-21T08:43:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GreenKing19](https://avatars.discourse-cdn.com/v4/letter/g/e56c9b/32.png) [@GreenKing19](https://community.postman.com/u/GreenKing19)\
**Post date:** [July 21, 2022, 8:43am UTC](https://community.postman.com/t/the-env-variable-of-params-does-not-take-effect-in-pre-requet-script/37423/1 "2022-07-21T08:43:30Z")

</div>

**Your question may already have an answer on the community forum. Please search for related topics, and then read through the [guidelines](https://community.postman.com/t/about-the-just-getting-started-category/37) before creating a new topic.**

> Here’s an outline with best practices for making your inquiry.

_My question_:

I used env variable inside params. But I need to use double quotes. I found this doesn’t work  
Strings should contain double quotes.  
Something like👇

```javascript
var sendString = 'query="something"'

```

_Details (like screenshots)_:  
params

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/f/fbf64e538312003e42498c9e09b05b21d7cba4c9.png)  
pre-request-Script  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/d/dd691bf71569d74e516172b1d6d320486c538915.png)  
log  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/1/171dbbf4515b8d9854ff0c4e3372bb0b864b8695.png)

_How I found the problem_:  
now

_I’ve already tried_:  
i can’t fix
