Open mark-meyer opened 1 year ago
From an email from Mark on 12/12/23.
"If you go to the 889 tool and put in the search box: "test ++" (without the quotes) or "uei: apple" you will get an error. This error is coming from the SAM.gov api — it seems to choke on this certain input with non-alphanumeric characters. I think this is a rare enough user input that we did not prioritize this. And I am not 100% sure what the correct response is for a user — I don't know what they are hoping for with that input, but we saw it a couple times in the logs."
The following non-alphanumeric characters when entered result in the following error: Error: Sorry, we weren't able to connect to SAM.gov. Please, try again later. Characters resulting in this error:
Search terms like
++test
ortest ++
(with the space without the space there is no error) orUEI: apple
produce a 400 error in the SAM api with a messages:We should investigate the requirements from SAM and either remove the offending characters from the query or provide the user with better feedback.