First, if the GPS info shows up in the serial monitor that’s mean you are able to initialize it and obtain it properly. At this point, you should save the response obtained (GPS info) to parsed it later in order to save the parameters obtained to be sent to the Ubidots Platform.
It’s important to mention that the Ubidots Libraries are build to make the get started of the users easier, for this reason I highly recommend to the users that once they start working with their own projects, take an idea of the initial library to build their ones with all their needs. In this case, you just will need the AT commands guide and the Ubidots REST API Reference to start working with your Library.
Referencing to the other problem, I can try from my side in order to let you know if I’m able to reproduce your inconvenience. For this, can you provide me all the libraries besides of the code?
All the best,