Android Question Error in Multipartpost.CreatePostRequest

Johnson Samuel

Licensed User
Longtime User
I am sending an image to php server. Image is uploaded to the directory correctly , but i am getting this error in b4A program in release mode. I am uploading the image using Multipartpost.CreatePostRequest

java.lang.Exception: Sub 1_responsesuccess was not found.
at anywheresoftware.b4a.BA.raiseEvent2(
at anywheresoftware.b4a.BA$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(

This happens only in release mode. but in Debug mode there is no error. Can anyone help in this . Is there any way by which i can upload an image to php server file dir.


Licensed User
Longtime User
Use the library and not a changed module.
The error comes from a change you did i guess....

Switch to okhttputils2 and use the library itself. It has Postmultipart included already.
Upvote 0