Add or Edit function combined with an empty GET call
![Bryan](https://us.v-cdn.net/6037124/user_avatars/4202949.jpg)
Hi there,
I seem to be having a problem when utilizing the add or edit function as per below
Basically I'm retrieving contact info via an API call and making an add or edit function to my record in the Xano DB.
Things to note,
There was an email address on the original record in Xano prior to running the API call
The API call does not return the email address field if the value is null, which is what happened in the case of the example above.
Despite the API call not returning the value, the default value of null was not overwritten on the existing record in Xano.
So just wondering if this is a bug, or it's part of the expected behavior?
P:SAll other updates work if there is at least a text character in the API call, so I don't think I have setup the GET filters incorrectly
P:P:S The API call is returning other field values, so it's not a completely blank response that's being returned, just only highlighting what my issue is here
Comments
-
Topic can be closed!
Issue was my bad.
For those who run to the same issue, make sure you check your data type in your database.
In my case, nullable was set to No. Changing it to Yes fixed the issue.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback