Solved Powershell and Join

Discussion in 'Join' started by justusiv, Feb 13, 2019.

  1. justusiv

    justusiv New Member

    Joined:
    Feb 13, 2019
    Messages:
    4
    Likes Received:
    0
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Thank you! :) Added it here!
     
  3. justusiv

    justusiv New Member

    Joined:
    Feb 13, 2019
    Messages:
    4
    Likes Received:
    0
    @joaomgcd Could you tell me the max length for title and text?
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hhmm, I don't think I put a limit...
     
  5. justusiv

    justusiv New Member

    Joined:
    Feb 13, 2019
    Messages:
    4
    Likes Received:
    0
    I tested 4000+ on the text and it failed while 3000ish went though. Maybe its some other sort of limitation.
     
  6. justusiv

    justusiv New Member

    Joined:
    Feb 13, 2019
    Messages:
    4
    Likes Received:
    0
    Through informal testing i maxed at 8067 and failing at 8068 with my full web request string being a count of 8209 and failing at 8210. These numbers are huge(for strings) and at this point am just more curious then anything as to what is going on.

    8067
    {
    "success": true,
    "userAuthError": false
    }
    8068
    Invoke-WebRequest : The remote server returned an error: (400) Bad Request.
    At line:52 char:17
    + $response = Invoke-WebRequest -Uri $fullWebRequest
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Oh I see. Probably related to the size of the query string itself? :)
     
: powershell

Share This Page