I am getting an error "Cypress does not know which one to read for config

Hey, I am getting an error “Cypress does not know which one to read for config. Please remove one of the two and try again.” when I am trying to run a test on lambdatest. Could you please help me with a way to bypass it, my cypress version is: “cypress”: “^12.3.0”.

Hello Charity,
In order to bypass this error please make sure that you are having below line in your run_settings object in lambdatest-config.json file: “cypress_config_file”: “cypress.json”. Also make sure that cypress.json file is not present, only cypress.config.js is present.