# Journey did not finish executing, 0 steps ran (attempt: 1) — Private Location: AS\_OB\_Multistep

**URL:** https://discuss.elastic.co/t/journey-did-not-finish-executing-0-steps-ran-attempt-1-private-location-as-ob-multistep/379379
**Category:** Synthetics
**Tags:** docker
**Created:** [June 21, 2025, 9:20am UTC](https://discuss.elastic.co/t/journey-did-not-finish-executing-0-steps-ran-attempt-1-private-location-as-ob-multistep/379379 "2025-06-21T09:20:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![shrikant.dandge](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@shrikant.dandge](https://discuss.elastic.co/u/shrikant.dandge)
#### Post date: [June 21, 2025, 9:20am UTC](https://discuss.elastic.co/t/journey-did-not-finish-executing-0-steps-ran-attempt-1-private-location-as-ob-multistep/379379/1 "2025-06-21T09:20:28Z")

</div>

Hi team,

I'm encountering an issue with a synthetic monitor deployed to a private location (`AS_OB_Multistep`) in the `govmeetings-prod` space. The monitor is pushed successfully, but fails to run with the following error:

```auto
journey did not finish executing, 0 steps ran (attempt: 1)
⚠ Throttling may not be active when the tests run

```

Logs

> Timestamp Type Message  
> 21 Jun 2025 04:11 stderr ⚠ Throttling may not be active when the tests run - see  
> 21 Jun 2025 04:11 stderr [synthetics/docs/throttling.md at main · elastic/synthetics · GitHub](https://github.com/elastic/synthetics/blob/main/docs/throttling.md) for more details

**Environment:**

- Elastic Cloud URL: `https://elastic.granicuslabs.com`
- Space: `govmeetings-prod`
- Private Location: `AS_OB_Multistep`
- Agent: [Docker/Kubernetes/Elastic Agent] (please specify)
- CLI Version: `@elastic/synthetics` (please include version)

Config:

Journey File:

```auto
import { SyntheticsConfig } from '@elastic/synthetics';
import '../journeys/mema/mema_secured';

monitor: {
  schedule: 10,
  privateLocations: ['AS_OB_Multistep'],
  name: 'Mema_Journey_cli2',
  space: 'govmeetings-prod',
},
throttling: {
  download: 4 * 1024 * 1024,
  upload: 1 * 1024 * 1024,
  latency: 20
},

```

What I’ve Tried:

Verified the private location is healthy and connected  
Confirmed the journey runs locally with npx @elastic/synthetics  
Added throttling settings to config  
Any help would be appreciated!

---

<div class="post-metadata">

### Author: ![shahzad31](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shahzad31/32/51637_2.png) [@shahzad31](https://discuss.elastic.co/u/shahzad31)
#### Post date: [June 23, 2025, 10:18am UTC](https://discuss.elastic.co/t/journey-did-not-finish-executing-0-steps-ran-attempt-1-private-location-as-ob-multistep/379379/2 "2025-06-23T10:18:57Z")

</div>

It seems like script format might not be as expected,  
can yo please share complete journey script which you are executing?  
don't forget to remove sensitive stuff.

Here is an example journey to follow

```auto
import { journey, step, monitor, expect } from '@elastic/synthetics';

journey('My Example Journey', ({ page, params }) => {
  // Only relevant for the push command to create
  // monitors in Kibana
  monitor.use({
    id: 'example-monitorl',
    schedule: 5,
  });
  step('launch application with', async () => {
    await page.goto('https://www.google.com');
  });

  step('assert title', async () => {
    const header = await page.locator('h1');
    expect(await header.textContent()).toBe('todos');
  });
});

```

---

<div class="post-metadata">

### Author: ![shrikant.dandge](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@shrikant.dandge](https://discuss.elastic.co/u/shrikant.dandge)
#### Post date: [June 23, 2025, 7:07pm UTC](https://discuss.elastic.co/t/journey-did-not-finish-executing-0-steps-ran-attempt-1-private-location-as-ob-multistep/379379/3 "2025-06-23T19:07:43Z")

</div>

const { journey, step, monitor, expect } = require('@elastic/synthetics');

journey('Recorded Journey', async ({ page, params, context }) =\> {  
monitor.use({  
id: 'mema\_test\_cli3', // Should match $KEY  
schedule: 10, // Frequency in minutes (should match $FREQUENCY)  
});  
step('Login', async () =\> {  
await page.goto(`${params.baseUrl}/account/login?ReturnUrl=%2F`, { waitUntil: 'networkidle' });  
await page.getByPlaceholder('Type your username.').click();  
await page.getByPlaceholder('Type your username.').fill(params.elastic\_user);  
await page.getByPlaceholder('Type your password.').click();  
await page.getByPlaceholder('Type your password.').fill(params.elastic\_pass);  
});

step('Click internal:role=button[name="Sign In"i]', async () =\> {  
await page.getByRole('button', { name: 'Sign In' }).click();  
await page.waitForLoadState('networkidle', { timeout: 10000 });  
await page.waitForTimeout(2000);  
});

step('Home Page', async () =\> {  
await page.getByRole('link', { name: 'Home' }).click();  
await page.waitForLoadState('networkidle', { timeout: 10000 });  
await page.waitForSelector('body', { state: 'visible', timeout: 10000 });  
await page.waitForTimeout(2000);  
expect(await page.title()).not.toBe('');  
});

step('Events Page', async () =\> {  
await page.goto(`${params.baseUrl}/Events.php`, { waitUntil: 'networkidle' });  
await page.waitForLoadState('networkidle', { timeout: 10000 });  
await page.waitForSelector('body', { state: 'visible', timeout: 10000 });  
await page.waitForTimeout(2000);  
expect(await page.title()).not.toBe('');  
});

step('Archives Page', async () =\> {  
await page.getByRole('link', { name: 'Archives' }).click();  
await page.waitForLoadState('networkidle', { timeout: 10000 });  
await page.waitForSelector('body', { state: 'visible', timeout: 10000 });  
await page.waitForTimeout(2000);  
expect(await page.title()).not.toBe('');  
});

step('Reports Page', async () =\> {  
await page.getByRole('link', { name: 'Reports' }).click();  
await page.waitForLoadState('networkidle', { timeout: 10000 });  
await page.waitForSelector('body', { state: 'visible', timeout: 10000 });  
await page.waitForTimeout(2000);  
expect(await page.title()).not.toBe('');  
});

step('Admin Page', async () =\> {  
await page.goto(`${params.baseUrl}/Cameras.php`, { waitUntil: 'networkidle' });  
await page.waitForLoadState('networkidle', { timeout: 10000 });  
await page.waitForSelector('body', { state: 'visible', timeout: 10000 });  
await page.waitForTimeout(2000);  
expect(await page.title()).not.toBe('');  
});

step('Logout', async () =\> {  
await page.getByRole('link', { name: 'elastic synthetic' }).click();  
await page.getByRole('link', { name: 'Sign Out' }).click();  
await page.frameLocator('iframe[name="mainContent"]').getByRole('link', { name: 'Yes' }).click();  
await page.waitForLoadState('networkidle', { timeout: 10000 });  
await page.waitForTimeout(2000);  
});  
module.exports = journey;  
});

---

<div class="post-metadata">

### Author: ![shrikant.dandge](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@shrikant.dandge](https://discuss.elastic.co/u/shrikant.dandge)
#### Post date: [June 23, 2025, 7:08pm UTC](https://discuss.elastic.co/t/journey-did-not-finish-executing-0-steps-ran-attempt-1-private-location-as-ob-multistep/379379/4 "2025-06-23T19:08:29Z")

</div>

@shahzad31

---

<div class="post-metadata">

### Author: ![shrikant.dandge](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@shrikant.dandge](https://discuss.elastic.co/u/shrikant.dandge)
#### Post date: [June 25, 2025, 6:04pm UTC](https://discuss.elastic.co/t/journey-did-not-finish-executing-0-steps-ran-attempt-1-private-location-as-ob-multistep/379379/5 "2025-06-25T18:04:35Z")

</div>

I have also tried with an example journey which you have given me and i am getting same error

```auto
journey did not finish executing, 0 steps ran (attempt: 1): %!w(<nil>)

```
