Getting a blocking 404 in test not reproducible in browser


We’re relatively new to using Katalon Studio (and loving it!) and we’re encountering an odd error we’re not sure how to troubleshoot. Any advice would be appreciated!

Specifically, we’ve written a script that loads our staging page, logs in, and clicks each menu item in turn to confirm it’s loading correctly. To verify this, we check that the page status code is a ‘200’. (Script snippet below.) We’re getting an error on a particular page and the logs indicate we’re receiving a 404 error. However, we aren’t able to reproduce this in a browser (same computer, same browser), and the server logs don’t reflect 404s at the time or with the frequency we’d expect from our tests (it’s not guaranteed those are accurate in all cases, though).

Does anyone know why we might be getting a 404 at the end of the step pasted below, but not in previous similar steps (different links), and be unable to replicate it at all in a browser?'Page_ CX_Pages/span_MENU'))
WebUI.waitForElementClickable(findTestObject('Page_ CX_Pages/a_Insight'), 0)'Page_ CX_Pages/a_Insight'), FailureHandling.STOP_ON_FAILURE)
resp = WSBuiltInKeywords.sendRequest(ro)
statusCode = resp.getStatusCode()
WebUI.comment(((statusCode) as String))
WebUI.verifyEqual(statusCode, 200, FailureHandling.STOP_ON_FAILURE)