# Problème de récupération de valeur suite à une requête HTTP

**URL:** <https://community.gladysassistant.com/t/probleme-de-recuperation-de-valeur-suite-a-une-requete-http/9439>\
**Category:** Configuration\
**Tags:** bug\
**Created:** [Mars 18, 2025, 4:04 UTC](https://community.gladysassistant.com/t/probleme-de-recuperation-de-valeur-suite-a-une-requete-http/9439 "2025-03-18T16:04:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nagromdark](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/nagromdark/32/17758_2.png) [@Nagromdark](https://community.gladysassistant.com/u/Nagromdark)\
**Post date:** [Mars 18, 2025, 4:04 UTC](https://community.gladysassistant.com/t/probleme-de-recuperation-de-valeur-suite-a-une-requete-http/9439/1 "2025-03-18T16:04:01Z")

</div>

Salut @pierre-gilles ,

j’ai trouvé un autre bug dans les scènes depuis la nouvelle version 4.55.  
J’ai une scène pour récupérer le prix de l’électricité chez EDF, je fais un GET sur leur API mais impossible d’utiliser la valeur récupérée plus tard dans la scène alors que ça fonctionnait avant.

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/e/9/e9f322e20e95ae47f15757bf9fab9ed99f8e6182.png)

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/f/0/f006b9fe4f8b0b021456d9ed98517d169ff692ad.png)

Je ne vois rien dans la console.

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [Mars 18, 2025, 4:11 UTC](https://community.gladysassistant.com/t/probleme-de-recuperation-de-valeur-suite-a-une-requete-http/9439/2 "2025-03-18T16:11:34Z")

</div>

Question bête mais on ne sait jamais (ça m’est déjà arrivé 😅). Est-ce que tu fais bien espace après les `{{` ?

---

<div class="post-metadata">

**Author:** ![Nagromdark](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/nagromdark/32/17758_2.png) [@Nagromdark](https://community.gladysassistant.com/u/Nagromdark)\
**Post date:** [Mars 18, 2025, 4:45 UTC](https://community.gladysassistant.com/t/probleme-de-recuperation-de-valeur-suite-a-une-requete-http/9439/3 "2025-03-18T16:45:39Z")

</div>

Oui tout à fait je fais bien un espace

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Mars 18, 2025, 5:07 UTC](https://community.gladysassistant.com/t/probleme-de-recuperation-de-valeur-suite-a-une-requete-http/9439/4 "2025-03-18T17:07:50Z")

</div>

Effectivement @Nagromdark, j’arrive à reproduire !

C’est un bug tout bête, je corrige ça dans cette PR :

> <https://github.com/GladysAssistant/Gladys/pull/2253>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[x\] If your changes affects code, did your write the tests?
> \- \[x\] Are tests passing? (\`npm test\` on both front/server)
> \- \[x\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[x\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[x\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[x\] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to the community (\[french forum\](https://community.gladysassistant.com/)/\[english forum\](https://en-community.gladysassistant.com/)) for testing before merging.
> 
> \### Description of change
> 
> Fix https://community.gladysassistant.com/t/probleme-de-recuperation-de-valeur-suite-a-une-requete-http/9439

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Mars 18, 2025, 6:14 UTC](https://community.gladysassistant.com/t/probleme-de-recuperation-de-valeur-suite-a-une-requete-http/9439/5 "2025-03-18T18:14:24Z")

</div>

Gladys Assistant 4.55.2 est en cours de build avec le correctif… 🕧 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Mars 18, 2025, 6:41 UTC](https://community.gladysassistant.com/t/probleme-de-recuperation-de-valeur-suite-a-une-requete-http/9439/6 "2025-03-18T18:41:57Z")

</div>

C’est live !
