[Outsystems].DBO.[OSUSR_XXXXXXX] with key 0 was not updated

Hello guys,

   I am trying to switch case in server action. When I mapping two tables in switch case and then publish studio I get this error in browser. Any one knows how to solved this error??

thanks,

Pooja Warke.

Hello Pooja,

Welcome to Outsystems Community,

This error occur when we try to save an Entity record with a NullIdentifier() as key.
Please check in your action flow where you are passing Null identifier for your Entity's attribute (Id),

Thanks & Regards
Tousif Khan

Hi,

I think you should check is there any Update{Entity} in your actions and make sure the Id is not 0 (OR nullIdentifier()).

Here is possible similar issue [].dbo.[] with key 0 was not updated | OutSystems .

Hope this helps,

Khuong

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.