raise error when returned error from google-api