> ## Documentation Index
> Fetch the complete documentation index at: https://ngrok.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ERR_NGROK_SHIP_ENVIRONMENT_TASK_ROLE_NAME_BAD_START: The 'task_role_arn' value must have 'ngrok-ship-task-' directly after 'role/', with no path before it

> ERR_NGROK_SHIP_ENVIRONMENT_TASK_ROLE_NAME_BAD_START: The 'task_role_arn' value must have 'ngrok-ship-task-' directly after 'role/', with no path before it. Learn why ngrok returns this error and how to fix it.

## What does ERR\_NGROK\_SHIP\_ENVIRONMENT\_TASK\_ROLE\_NAME\_BAD\_START mean?

ngrok returns ERR\_NGROK\_SHIP\_ENVIRONMENT\_TASK\_ROLE\_NAME\_BAD\_START with this message:

```text theme={"theme":{"light":"css-variables","dark":"css-variables"}}
The 'task_role_arn' value must have 'ngrok-ship-task-' directly after 'role/', with no path before it. IAM roles cannot be renamed, so create a role with that name.
```

> [!TIP]
>
> Troubleshoot ERR\_NGROK\_SHIP\_ENVIRONMENT\_TASK\_ROLE\_NAME\_BAD\_START with your AI agent.
> Connect it to the [ngrok MCP server](https://ngrok.com/docs/mcp-server.md), then ask what caused the error and how to fix it.

## Where can I get more help with ERR\_NGROK\_SHIP\_ENVIRONMENT\_TASK\_ROLE\_NAME\_BAD\_START?

Email [support@ngrok.com](mailto:support@ngrok.com?subject=Help%20with%20ERR_NGROK_SHIP_ENVIRONMENT_TASK_ROLE_NAME_BAD_START) and include the error code.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.