Strange openBrowser behavior with ? question mark

Hi,

I have a test case that I am writing that uses a URL like https://www.domain.com/specialpage.cfm?index=1

When I use WebUI.openBrowser(‘https://www.domain.com/specialpage.cfm?index=1’) it opens the browser with the following URL in the address bar:

https://www.domain.com/specialpage.cfm (which leads to a 404)

It also happens with WebUI.navigateToUrl(‘https://www.domain.com/specialpage.cfm?index=1’)

Using Katalon Studio Version: 6.3.2 Build: 4

What is even stranger is that my coworker uses the same code and it seems to be working for him (same version of Katalon).

Any ideas on why this is happening?

Leaving the post here. Solution found. Apparently our global URL was dev.domain.com where it should have been www.dev.domain.com as there are some server settings that were causing the above.