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

    JotForm v4 Square Integration Error: The `Authorization` http header of your request was malformed

    Asked by Videoman77 on January 12, 2017 at 10:48 AM

    I have my form set to test mode and it says "Square" is connected. However, i keep getting this error:

    Payment Error
    The `Authorization` http header of your request was malformed. The header value is expected to be of the format "Bearer TOKEN" (without quotation marks), where TOKEN is to be replaced with your access token (e.g. "Bearer ABC123def456GHI789jkl0"). For more information, see https://docs.connect.squareup.com/api/connect/v2/#requestandresponseheaders. If you are seeing this error message while using one of our officially supported SDKs, please report this to developers@squareup.com.
    Page URL:

  • Profile Image
    JotForm Support

    Answered by Mike on January 12, 2017 at 01:08 PM

    It seems that there is an issue with the Square integration in our beta JotForm v4 editor. I have escalated a bug report ticket to our developers.

    In the meantime, please try to create a new form in JotForm v3 editor, or reintegrate your current form in v3 editor by using the next link.


    Thank you.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on January 13, 2017 at 08:23 PM

    Hi there,

    We have applied a fix for this bug yesterday. Can you please let us know if the issue was resolved on your end or not?


  • Profile Image
    JotForm Support

    Answered by NeilVicente on January 13, 2017 at 09:47 PM

    By the way, kindly reconnect your form to Square first.

    You can do so by opening the Square Payment wizard, then changing the mode to Test Mode then back to Live Mode and finally clicking the Connect button.

    Do let us know how it goes for you thereafter.