What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    'Error refreshing the OAuth2 token' error message on save

    Asked by mdyhs on March 30, 2015 at 10:19 AM

    Good morning,

    For well over a year we have been using our main form with no issues. Last week all of a sudden our staff consistently gets the following error message when they save the form:

    Error refreshing the OAuth2 token, message: '{ "error" : "invalid_grant" }'

    It looks like the data is being saved, but they are getting this error message anyway.


    Can you please advise.

  • Profile Image
    JotForm Support

    Answered by Welvin on March 30, 2015 at 12:00 PM


    I think this is just a form caching issue that you can fix by just clearing your forms cache:


    I just did it for you. Kindly tell you staff to check again. Also, I would suggest clearing the browser's cache and cookies for Jotform before logging in again to the account.

    I hope this helps, please update us here.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by Welvin on March 30, 2015 at 12:14 PM


    Just to follow up that this problem is also related to Google Drive integration. You will receive this kind of error if you have the integration folder moved to other location, deleted or edited. To fix this, you will have to re-integrate the form to Google Drive:


    Your form is not integrated to Google Drive when I checked it so wondering if you have removed it.