Support Topics Documentation Slack YouTube Blog

Api response returning null

hello, i made a column constraint to “Not null” and added a default value but i still get a null response.

Hello,

Could you please show what the response looks like?

Regards,
Mark

just say u understand what i mean.

i created a table named broadcast. on that table there is a column named AccountTitle which its constraint is set to not null and has a default value of “Default”. but every time i make a request to pull that column it returns null

I would like to see a screenshot showing that the value you get back is null.

2020-06-05 03:46:40.589 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null
2020-06-05 03:46:40.738 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null
2020-06-05 03:46:40.824 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null
2020-06-05 03:46:40.911 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null
2020-06-05 03:46:40.998 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null
2020-06-05 03:46:49.284 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null
2020-06-05 03:46:49.354 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null
2020-06-05 03:46:49.420 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null
2020-06-05 03:46:49.491 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null
2020-06-05 03:46:49.546 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null
2020-06-05 03:46:50.315 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null
2020-06-05 03:46:50.375 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null
2020-06-05 03:46:50.427 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null
2020-06-05 03:46:50.490 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null
2020-06-05 03:46:50.542 17306-17306/com.ntrii.ntrii D/Session: setdata: AccountTitle = null

Never mind i found the problem. it a very funny mistake i made. thanks for responding though.