Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataError: value too long for type character varying(300) #2105

Open
sentry-io bot opened this issue Feb 2, 2021 · 0 comments
Open

DataError: value too long for type character varying(300) #2105

sentry-io bot opened this issue Feb 2, 2021 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Feb 2, 2021

This field could probably just be a TextField unless we need an index on it.

Sentry Issue: XPRO-214

HttpError: <HttpError 403 when requesting https://www.googleapis.com/drive/v3/files/1GvGqmdeuabpuGj0Shf29PLdPzEwd7BsKLtWL5Bv23NU/watch?supportsTeamDrives=true&alt=json returned "User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/...
  File "sheets/api.py", line 528, in create_or_renew_sheet_file_watch
    sheet_file_id, new_channel_id, handler_url, expiration=expiration
  File "sheets/api.py", line 398, in request_file_watch
    **extra_body_params,
  File "googleapiclient/_helpers.py", line 130, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "googleapiclient/http.py", line 856, in execute
    raise HttpError(resp, content, uri=self.uri)

StringDataRightTruncation: value too long for type character varying(300)

  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "newrelic/hooks/database_psycopg2.py", line 51, in execute
    **kwargs)
  File "newrelic/hooks/database_dbapi2.py", line 25, in execute
    *args, **kwargs)

DataError: value too long for type character varying(300)

(17 additional frame(s) were not displayed)
...
  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "newrelic/hooks/database_psycopg2.py", line 51, in execute
    **kwargs)
  File "newrelic/hooks/database_dbapi2.py", line 25, in execute
    *args, **kwargs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants