Android Question DBRequestManager issue

Stephenz43

Member
Licensed User
Longtime User
DBRequestManager is throwing the following error in my app and I am at a loss .............

B4A version: 5.80
Parsing code. (0.01s)
Compiling code. Error
Error compiling program.
Error description: Cannot cast type: {Type=String,Rank=0, RemoteObject=True} to: {Type=Byte,Rank=1, RemoteObject=True}
Occurred on line: 50
j.PostBytes(link & "?method=batch", ms.ToBytesArray)
Word: ?method=batch

Any help is appreciated
 

DonManfred

Expert
Licensed User
Longtime User
without seeing your code and what you are doing there we can not help.
Looks like you are using two different types and want to mix them somehow. In the first Type is string, in the second Type is a Byte
 
Upvote 0
Top