Error message: Invalid document structure: Attribute "$tenant" has invalid type. Value must be a valid integer.
While deploying the function, it fails with above error. Even the redeploy also fails with the same error. Build step is failing.
Summary
Developers are experiencing issues with function deployment, specifically encountering an error related to an invalid document structure. The error states that the attribute "$tenant" has an invalid type and the value must be a valid integer. Attempts to redeploy have also failed. Many developers are facing the same issue, leading to frustration as important data storage is impacted.
Solution: Review the document structure and ensure that the attribute "$tenant" is being assigned a valid integer value during deployment to resolve the error.
jokernifty
Mar 30, 2025, 11:01
come join us in the discussion below
jokernifty
Mar 30, 2025, 11:01
everyone is facing the same issue
jokernifty
Mar 30, 2025, 11:02
they fucked up the server
sagittarius_k2
Rank 1: Thread
Mar 30, 2025, 11:03
Yep, I had a deadline tonight for my customers. I am really pissed off.
azi
Mar 30, 2025, 11:04
mann not a good day to have this issue!
jokernifty
Mar 30, 2025, 11:05
I feel you bro
mm
Mar 30, 2025, 11:05
So this is happening right now?! I am not insane...
azi
Mar 30, 2025, 11:05
bro im an intern. our boss would think of my project as a joke.
jokernifty
Mar 30, 2025, 11:05
welcome
jokernifty
Mar 30, 2025, 11:05
to the gang
mm
Mar 30, 2025, 11:06
I am so pissed
mm
Mar 30, 2025, 11:06
I've deleted the whole collection
sagittarius_k2
Rank 1: Thread
Mar 30, 2025, 11:07
Where are our savior?
mm
Mar 30, 2025, 11:07
Just to realise that was not the fix
sagittarius_k2
Rank 1: Thread
Mar 30, 2025, 11:08
Same here... I debugged locally my whole code, just to reach here....
Booyah Squadians
Web Developer
Mar 30, 2025, 11:26
oh wow
facing the same issue
Booyah Squadians
Web Developer
Mar 30, 2025, 11:27
idk why but I am still able to update some of my collections
(1 out of 3 )
azi
Mar 30, 2025, 11:30
apparently my data storage are back. since that is the most important thing on my app. i hope u guys are good too.
jokernifty
Mar 30, 2025, 11:30
nope
azi
Mar 30, 2025, 11:32
man i hope this aint false positive
jokernifty
Mar 30, 2025, 11:40
I am able to update my functions, but database is still the same