I recently used the createRecord function, which calls the generateUrl function. Within this function, there is the creation of a string that includes the version (using the getVersion function). The problem was that the version I received was 37 instead of 37.0 that the server expected to receive - which resulted in an error.
Maybe getVersion is not considered an edge case of X.0 versions?