Geocoding an address... how to save the latitude and longitude points?

I'm using Geocode.io for an external API to take a user's input (address) and convert it into geocoded latitude and longitude points, but I am having trouble saving the coordinates in the database as a geo_point.

Can anyone help me understand how I can accomplish this?

I have successfully converted the address into latitude and longitude points, but when I go to edit the record, the database returns an error.

code: ERROR_CODE_INPUT_ERROR,

message: Missing param: field_value,

param: field_value

4 replies