Passing when running locally, failing when running in cloud

Hi there,

I’m new to Grafana K6 and I’m writing a test where this is passing locally, failing in cloud
vus: 1, // Number of virtual users
duration: ‘30s’, // Duration of the test

however, this is failing locally
vus: 2, // Number of virtual users
duration: ‘1m’, // Duration of the test

My project ID is correctly set in my code but these tests both failed when running in cloud.
k6 run <file.js> and k6 cloud <file.js>. Thanks in adv.