question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Request-URI Too Long

See original GitHub issue

Thr following code:

BearerTokenConnection ytConnection = new BearerTokenConnection(
 "https://youtrack.XXX.com/",
 "perm:...");

Issue issue = new Issue
{
    Description = description.ToString(),
    Summary = "Summary",
};

IIssuesService issuesService = ytConnection.CreateIssuesService();

string id = await issuesService.CreateIssue("XXX", issue);

Results in a System.Net.Http.HttpRequestException with the message “Response status code does not indicate success: 414 (Request-URI Too Long).”

What am I doing wrong here?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
maartenbacommented, Aug 6, 2020

@Jaben Regarding new API, if needed you can use the OpenAPI spec (https://www.jetbrains.com/help/youtrack/standalone/openapi-specification.html) and generate a client (e.g. using NSwagStudio). This may be the route we will take as well (with helpers for many methods)

1reaction
maartenbacommented, Aug 6, 2020

@Jaben There is no ETA right now.

As for max length, this should be ~10000 characters.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I resolve a HTTP 414 "Request URI too long" error?
Under Apache, the limit is a configurable value, LimitRequestLine . Change this value to something larger than its default of 8190 if you ......
Read more >
GET ... 414 ... Request-URI too long - Support & Bugs
In the case of the 414 Request-URI Too Large error, the problem is clear: the URLs being passed to the server are too...
Read more >
414 URI Too Long - HTTP - MDN Web Docs
The HTTP 414 URI Too Long response status code indicates that the URI requested by the client is longer than the server is...
Read more >
Issue - HTTP 414 Request-URI Too Long
The "Request URI Too Long" is normally a consequence of a global configuration variable in the Apache (httpd) service conrfiguration files ...
Read more >
What is 414 Request URI Too Long Error and How to Fix It
Fixing 414 Request URI Too Long Error. A quick way to fix this issue is by increasing the size of the URI your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found