# "Error making post request to Dynatrace API: Post"

**URL:** <https://community.dynatrace.com/t/error-making-post-request-to-dynatrace-api-post/40008>\
**Category:** Container platforms\
**Tags:** aws, kubernetes, dynatrace-api\
**Created:** [May 31, 2023, 2:29pm UTC](https://community.dynatrace.com/t/error-making-post-request-to-dynatrace-api-post/40008 "2023-05-31T14:29:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![kwatatsh](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@kwatatsh](https://community.dynatrace.com/u/kwatatsh)\
**Post date:** [May 31, 2023, 2:29pm UTC](https://community.dynatrace.com/t/error-making-post-request-to-dynatrace-api-post/40008/1 "2023-05-31T14:29:49Z")

</div>

I’m trying to setup Dynatrace for my EKS Fargate, all 3 Dyntrace pods are in running state, but when I try to apply the OneAgent manifest and describe Dynakube, I notice this error. Does anyone know how to fix this please?

Last Transition Time:&nbsp; 2023-05-24T19:32:56Z  
&nbsp;&nbsp;&nbsp; Message:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; error making post request to dynatrace api: Post “https://{environmentid}.live.dynatrace.com/api/v1/tokens/lookup”:&nbsp;read tcp 10.xx.xxx.xxx:55736-\>34.xx.5.xxx.28:443: read: connection reset by peer  
&nbsp;&nbsp;&nbsp; Reason:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TokenError  
&nbsp;&nbsp;&nbsp; Status:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; False  
&nbsp;&nbsp;&nbsp; Type:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tokens  
&nbsp; Dynatrace API:  
&nbsp;&nbsp;&nbsp; Last Token Scope Request:&nbsp; 2023-05-24T19:32:56Z  
&nbsp; One Agent:  
&nbsp; Phase:&nbsp; Error  
&nbsp; Synthetic:

---

_[View the full topic](https://community.dynatrace.com/t/error-making-post-request-to-dynatrace-api-post/40008)._
