Thanks for this post!  I was seeing the same error and didn't know why.  
I'm using python and the gdata.gauth.OAuth2TokenFromCredentials().  I added 
a call to `_refresh()` right after creating my token and it started working 
again.

On Wednesday, November 14, 2018 at 7:32:57 AM UTC-8, Daniel Norman wrote:
>
> It appears over the past few days we have been getting 500 errors when 
> adding rows to spreadsheets when users auth tokens have expired. Once we 
> refresh the tokens the problem goes away until the next time the tokens 
> expire.  In the past we have received 401 errors, and handled these by 
> refreshing the tokens.
>
> Now we are getting 500 errors, which obviously we handle differently.
>
> Now we just get a 500 response with the following generic error message.
>
> <HTML>
>     <HEAD>
>         <TITLE>Internal Server Error</TITLE>
>     </HEAD>
>     <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
>         <H1>Internal Server Error</H1>
>         <H2>Error 500</H2>
>     </BODY>
> </HTML>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-spreadsheets-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to