running in to errors when pi is sending reading data to the service layer