The CreatorCon Call for Content is officially open! Get started here.

414 Request-URI Too Large - Error (On load client script)

Obito
Tera Expert

Hi all,

 

We are sending parameters and their values through Jira using link. That link is redirecting to servicenow catalog page. So on the loading of the catalog page we are populating some values. But currently I am seeing an error (414 Request-URI Too Large) as in that link I can see more than 30 countries are being sent. Is there any way to handle this without making URL short

 

Thank you.

1 ACCEPTED SOLUTION

@Obito 

it's indeed too long.

I believe you can't do anything here but only reduce the characters in URL and then only it will work.

If my response helped please mark it correct and close the thread so that it benefits future readers.

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Obito 

so that link which takes user to catalog item has long URL?

what's included in that?

what's your actual business requirement?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar , Yes the URL is very long when we are sending more than 5 or 10 countries. 

The URL contains 15 variables with their values & country is one of them.

This long URL is throwing error when hit. But if  we send 5/10 countries then it is populating catalog variables value properly.

@Obito 

how does the URL look like?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar  This is one of the example 

Obito_0-1759823108385.png