Uploaded image for project: 'TRELLO'
  1. TRELLO
  2. TRELLO-486

Creating cards with large names via API generates a HTML based Error message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • Product - API
    • None
    • Minor

      Issue Summary

      When cards with too large a name are created via the Trello API the error message that's returned is HTML for a webpage rather than a JSON response.

      Steps to Reproduce

      Create a card through the below API call with at least 6500 as the card name

       https://api.trello.com/1/cards?idList={idlist}

      Expected Results

      A JSON response with an error code and explanation.

      Actual Results

      The below exception is thrown in the xxxxxxx.log file:

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
      <HTML>
      
      <HEAD>
          <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
          <TITLE>ERROR: The request could not be satisfied</TITLE>
      </HEAD>
      
      <BODY>
          <H1>413 ERROR</H1>
          <H2>The request could not be satisfied.</H2>
          <HR noshade size="1px">
          Bad request.
          We can't connect to the server for this app or website at this time. There might be too much traffic or a
          configuration error. Try again later, or contact the app or website owner.
          <BR clear="all">
      If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
          <BR clear="all">
          <HR noshade size="1px">
          <PRE>
      Generated by cloudfront (CloudFront)
      Request ID: OT2pAZnJGTMYhkljVQdqC4G58Eh6P3JMLszPkkMkVccqCALriSHsUQ==
      </PRE>
          <ADDRESS>
          </ADDRESS>
      </BODY>
      
      </HTML>
      

      Workaround

      No workaround available

            Unassigned Unassigned
            d67e5ce9dcf7 Nathan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: