API services documentation and reference material for the e-Manifest hazardous waste tracking system
Creative Commons Zero v1.0 Universal
26
stars
22
forks
source link
EM-2147 Server URL Limit for Links Generated by UI Link Service #1546
Closed
e-manifest closed 1 year ago
The server currently limits the size of URLs.
If you generate a URL from the UI Link service with a large amount of MTNs, then copy/paste the URL in the browser it throws an error.
{noformat}Request-URI Too Long The requested URL's length exceeds the capacity limit for this server.{noformat}
URL character count = 8202
[^URL 623 MTNs.txt]
When providing a URL below the server limit, the login page loads as expected (provided you are not previously logged in).
URL character count = 8189
[^URL 622 MTNs.txt]
How to re-create:
!Screenshot 2023-03-09 145040.png|width=1440,height=780!
{noformat}{ "page": "BulkSign", "epaSiteId": "TXD055141378", "filter": ["string", "string", "etc"] }{noformat}
The {{"epaSiteId"}} that you use, must be a site you have access to. Note: you can use any MTN’s but, they all need to be within brackets “ “.
In the filter include more than 500 MTN, to re-create the issue.
Acceptance Criteria
(x) Set up validation to 500 manifests in the UI link service.
If more than 500, present an error message.
Error message: “The number of manifests exceeds the filter limit of 500 manifests for using the service.”