credit generation routine has invalid url in it.