Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.0.0.RC2
    • Component/s: None
    • Labels:
      None

      Description

      When sharing a link/picture, a 400 error results. Per the OP in the forum, it appears to have something to do with unexpected CDATA (XML?).

      Initial theory is that the LinkedIn API is expecting XML, but we are sending JSON. The JSON sent is the "unexpected CDATA". But why did it once work and now doesn't?

        Activity

        Hide
        Craig Walls added a comment -

        LinkedInTemplate was correctly setting the x-li-format parameter to "json", but then when the access token was being added to the request, the headers were cleared out. Fix was to use the existing headers instead of a new set of headers.

        Show
        Craig Walls added a comment - LinkedInTemplate was correctly setting the x-li-format parameter to "json", but then when the access token was being added to the request, the headers were cleared out. Fix was to use the existing headers instead of a new set of headers.

          People

          • Assignee:
            Craig Walls
            Reporter:
            Craig Walls
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: