I'm trying to run a normal web testing but getting the error, please help in resolving the issue

I’m trying to run a normal web testing but getting the error below:

org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 400. Message: {“message”:“Some user file names are invalid”,“status”:“fail”} Build info: version: ‘4.1.2’, revision: ‘9a5a329c5a’ System info: host: ‘T27HP7H43X’, ip: ‘192.168.1.161’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘12.3.1’, java.version: ‘17.0.2’ Driver info: org.openqa.selenium.remote.RemoteWebDriver

Command:

[null, newSession {capabilities=[Capabilities {LT:Options: {build: SmokeSuite Test -2023_01_26..., name: TC10261 - Contact Details >..., platformName: Windows 11}, browserName: Chrome, browserVersion: latest, lambda:userFiles: [Automation_Test_LandingPage..., Automation_Test_LandingPage...]}], desiredCapabilities=Capabilities {LT:Options: {build: SmokeSuite Test -2023_01_26..., name: TC10261 - Contact Details >..., platformName: Windows 11}, browserName: Chrome, browserVersion: latest, console: true, lambda:userFiles: [Automation_Test_LandingPage..., Automation_Test_LandingPage...], network: true, terminal: true}}]

Capabilities {}

Could you please help fix this issue?

Hi Tom Dale,

Based on the error you have provided, it seems that you are passing a capability to upload files. And if you’re running normal test, you can comment or delete the lambda:userFiles from the capabilities you’re passing and try to run a new test. For reference in using the lambda:userFiles, please click here: