Unable to add new room?

Good evening :slight_smile:

Small issue encountered tonight: unable to add a new room to the house…
image

I can’t find any errors in the Gladys log under Docker: should I look elsewhere?

Thanks,
Jean

Hi,
I don’t know if there’s a limit on items.
Maybe to help, how many do you have?

Yes!

If you manage to reproduce it, can you open your browser logs by doing: Right-click → Inspect Element → « Network ».

Then, you try to create the room, and you open the request:

POST /api/v1/house/[ta-maison]/room

I’d like you to copy the response here :slight_smile:

What I’m interested in is the « Response » tab

Hello @gaetanb76,

At the moment, 20 « items », but there will be more added … This is also a topic I’d like to address :slight_smile:

Hello @pierre-gilles,

The response is as follows: {« status »:404,« code »:« NOT_FOUND »,« message »:« House not found »} :

Hi @jean_bruder,

Thanks for your help, I just managed to reproduce it on my side.

The issue comes from a recent change to the « formula » we use to generate that famous « URL-friendly slug », which is kind of the unique identifier for your house.

I’ve fixed this bug here:

I’ll keep you posted as soon as the fix is available in production :slight_smile:

1 Like

Hello @pierre-gilles

And as always, a big thank you for your prompt attention and for handling the requests :slight_smile:

Jean

1 Like

It’s merged and will be included in the next version of Gladys :slight_smile:

1 Like

This fix is available in Gladys Assistant 4.54.0: