I am facing the following error while update/saving the object and its very annoying, find attached.

Hi, I am using Backendless SDK 3 for android and using kotlin language, version 3 is requirement i can not change, when i am updating/saving object and i am facing the error which is very very annoying and eating my too much my time of development, please find the attached for error, (in Toast Message).

Here is my code.

val pd = Utils.SCProgressDialog(mContext,null,"Accepting Seatcheck...")
pd.show()
val _invite = invites
_invite.status = "accepted"
HawkUtils.putHawk("invites",invites)

Backendless.Data.save(_invite,object : AsyncCallback<Invites> {
    override fun handleFault(fault: BackendlessFault?) {
        Toast.makeText(mContext,fault?.message, Toast.LENGTH_LONG).show()
        pd.dismiss()
    }

    override fun handleResponse(response: Invites?) {

        pd.dismiss()
        var _post : Post? = null

        for(i in AppClass.postList!!.indices) {

            if(AppClass.postList!!.objectId.equals(Prefs.getString("seatId",""))) {

                _post = AppClass.postList!!
            }
        }

        _post?.shouldGoLive = "no"
        _post?.invite = _invite
        Backendless.Data.save(_post,object : AsyncCallback<Post> {
            override fun handleFault(fault: BackendlessFault?) {
                 Toast.makeText(mContext,fault?.message, Toast.LENGTH_LONG).show()

                pd.dismiss()
            }

            override fun handleResponse(response: Post?) {

                pd.dismiss()
                Prefs.putBoolean("inMeeting",true)
                Prefs.putInt("userStatus",2)
                context.startActivity(Intent(context, ActivitySeatLiveInMeeting::class.java))
                (context as Activity).finish()

            }

        })


    }

})

Thanks
Regards
Yasir

Hi, we do not guarantee support for Kotlin, can you reproduce the same issue in Android/Java?

Anton