Hello
I am testing sending an HTTP request in a scene using IFTTT. When I want to save my scene I get this error message
**An error occurred while saving your scene. Please check that all actions/triggers are filled
Hello,
From your screenshots, your body is missing, which seems mandatory in Gladys given the asterisk ![]()
@Kevin I don’t think that’s it, despite what the asterisk says, the body is not mandatory ^^ (it should be removed, by the way)
@froch What does the rest of your scene look like?
@pierre-gilles : I just ran a test and I have exactly the same issue when I don’t put anything in the body.
You can run a test by sending a POST request to the following URL: https://webhook.site/e1fe207f-4323-46f4-b6a0-ff55c7a70cdc
If the token in the URL is no longer valid, create a new one by going directly to https://webhook.site/ and then you can redo the test.
The « Try » button works if the body is empty but saving the scene returns an error. I then put « {} » in the body and the scene saved successfully.
@Kevin I can’t reproduce it!
@pierre-gilles : I just tested again and I’m having the same issue again… Strange!
The only difference is that I’m on Windows and Chrome (are you on Mac + Firefox or Safari?). Could a check pass on some browsers and not others?
Also, I’m on v4.22.0. Are you on a newer version?
Hello I just tried again
It works now but there were two problems
1 with the URL link I had a space in the name (Fermeture garage) and Gladys refused to save
and on top of that a value is required in the body
I therefore changed the name of my event name in IFTTT
and by adding a value in the body which is useless, which doesn’t seem very logical to me.
and now I can control Somfy equipment directly from Gladys ![]()
I’m on a Mac
@Kevin Can you open your browser console and check the Network tab for the error returned by Gladys?
Super cool
Is that possible with IFTTT? Don’t hesitate to make a tutorial on the forum ( Tutoriels - Gladys Assistant community ) explaining how you do it, it could help a lot of people!
@pierre-gilles: By creating the scene directly like in your video, it works.
Now, edit your scene, enter something in the body field and save. Now, delete the body value and try saving again.
The errors:
I’d like the full error
(Network tab => you
You weren’t able to reproduce it with my additional information?
The response seems clear: {« status »:422,« code »:« UNPROCESSABLE_ENTITY »,« properties »:[{« message »:« "[0][0].body" is not allowed to be empty »,« attribute »:« actions »,« value »:[[{« type »:« http.request »,« method »:« post »,« headers »:,« url »:« Webhook.site - Test, transform and automate Web requests and emails error »}]}
Now, why does it pass when creating the scene and not when modifying it…? I really should get into Node.js to help you! ![]()
Ok thanks I understood the bug and managed to reproduce it ![]()
I fixed the bug in this PR :
Ok, it’s merged into master and will be included in the next Gladys release.
Thanks @froch for the feedback ![]()
This bug is fixed in Gladys Assistant 4.23!



