Use v2 in API endpoint.
Fixed null pointer on missing tempString.