I noticed when deploying cloud code which updated an object that contains a POINT it results in the following error:
400 - Invalid GIS data provided. Correct string with WKT or string with GeoJSON or just GeoJSON object is required. (1312)
What was strange is the function worked fine when I ran via coderunner, I then noticed my Backendless.jar file was a few months old, I updated to the new one and now I’m getting the same error in coderunner.
Create a table with two columns, one String ‘name’ another POINT ‘location’. Create a dummy row with a POINT location (Example point for input into the console: POINT (79.90613134797755 6.720792682218309)) and a dummy name, then create the following cloud code with the latest backendless jar
In your java code in the cloud.
TABLENAME myObj= Backendless.Data.of(TABLENAME .class).findById(object_id, 0);
On save you should get the same error.