# Error while downloading agent on OCP Openshift

**URL:** <https://community.dynatrace.com/t/error-while-downloading-agent-on-ocp-openshift/21510>\
**Category:** Open Q&A\
**Tags:** installation, oneagent\
**Created:** [February 17, 2021, 10:33am UTC](https://community.dynatrace.com/t/error-while-downloading-agent-on-ocp-openshift/21510 "2021-02-17T10:33:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhahir\_tajudin](https://avatars.discourse-cdn.com/v4/letter/z/e495f1/32.png) [@zhahir\_tajudin](https://community.dynatrace.com/u/zhahir_tajudin)\
**Post date:** [February 17, 2021, 10:33am UTC](https://community.dynatrace.com/t/error-while-downloading-agent-on-ocp-openshift/21510/1 "2021-02-17T10:33:58Z")

</div>

Hi All,

We found an error while downloading the agent.

In the ocp console, we found this error in the logs:

05:20:47 Attention! ONEAGENT\_INSTALLER\_SCRIPT\_URL does not match expected pattern, please verify its correctness. See the following help page for instructions how to retrieve the URL: [Set up Dynatrace OneAgent as a Docker container — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/oneagent-docker#locate-your-oneagent-installer-url). If installer download succeeded, then this message may safely be ignored

05:20:55 Started agent deployment as a container, PID 2087405.

05:20:55 Downloading agent to /tmp/Dynatrace-OneAgent-Linux.sh via 10.59.99.73:9999/e/b55543e5-242a-4c6b-8aab-4ee1a010c9e0/api/v1/deployment/installer/agent/unix/default/latest?Api-Token=\*&arch=x86&flavor=default

05:20:55 Error: Download failed

Also status of the node is CrashLoopBackOff

 ![28292-1613557904532.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/c293f2b5fc123630767413a37eca377f7add80bd.png)  
And this is the condition now:

 ![28293-1613557959530.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/af0cf107f7575f91945241e3512672f8bae6f550.png)

Any advices on this?

Thank you

---

<div class="post-metadata">

**Author:** ![Mo\_Azuz](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mo_azuz/32/5921_2.png) [@Mo\_Azuz](https://community.dynatrace.com/u/Mo_Azuz)\
**Post date:** [March 4, 2021, 10:59pm UTC](https://community.dynatrace.com/t/error-while-downloading-agent-on-ocp-openshift/21510/2 "2021-03-04T22:59:00Z")

</div>

Hi zhahir\_tajudin,

Are you using Dynatrace SaaS or Managed. Please check your cr.yaml to confirm you are using the [proper format in apiUrl parameter](https://github.com/keptn/examples/blob/8c8334de4ca74e5977ba3ec5d1defa1644db3f58/dynatrace-oneagent/deploy-dynatrace-oneagent.sh#L99-L101).

- SaaS -&nbsp;https: [//ENVIRONMENTID.live.dynatrace.com/api](https://ENVIRONMENTID.live.dynatrace.com/api)
- Managed - https: //YourActiveGateIP or FQDN:9999/e/\<ENVIRONMENTID\>/api

Regards,

Moe
