zyborg / pester-tests-report

GitHub Action to run Pester tests and generate report attached to Workflow Run
MIT License
40 stars 13 forks source link

Invalid request. Only 65535 characters are allowed #27

Open abbgrade opened 1 year ago

abbgrade commented 1 year ago

Hello,

there seems to be a internal limit. But I don't know where that comes from. May be size of the pester test report.

Invoke-WebRequest: D:\a\_actions\zyborg\pester-tests-report\v1.5.0\action.ps1:303
Line |
 303 |      Invoke-WebRequest -Headers $hdr $url -Method Post -Body ($bdy | C …
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | {"message":"Invalid request.\n\nOnly 65535 characters are allowed; [73](https://github.com/abbgrade/PsMermaidTools/actions/runs/6273962338/job/17038492521#step:5:74)554 were
     | supplied.","documentation_url":"https://docs.github.com/rest/checks/runs#create-a-check-run"}

Error: The process 'C:\Program Files\PowerShell\7\pwsh.exe' failed with exit code 1