We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Integration with Dynatrace

ShouryaD
Tera Expert

Hello Team, 

I encountered an issue while doing the integration with Dynatrace. I set the basic OAuth connection by providing the username and password but when I tested the credentials it throws an error but  the same credentials are working for POSTMAN. I tried creating an incident using workflow in Dynatrace and the record is getting created in ServiceNow. Can someone advise what to do now. Will this error going be a hurdle while moving forward. Below are the screenshots for your references.  

ShouryaD_1-1770268345306.png

Body error- {"error":{"message":"User Not Authenticated","detail":"Required to provide Auth information"},"status":"failure"}

Header- 
{
"cache-control": "no-cache,no-store,must-revalidate,max-age=-1",
"connection": "keep-alive",
"content-type": "application/json;charset=UTF-8",
"date": "Thu, 05 Feb 2026 05:11:25 GMT",
"expires": "0",
"pragma": "no-store,no-cache",
"server": "snow_adc",
"server-timing": "sem_wait;dur=1, sesh_wait;dur=0",
"set-cookie": "glide_user_session=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly",
"strict-transport-security": "max-age=63072000; includeSubDomains",
"transfer-encoding": "chunked",
"www-authenticate": "Basic realm=\"Service-now\"",
"x-content-type-options": "nosniff"
}

 

 

ShouryaD_0-1770268055013.png

 

 

1 REPLY 1

Tanushree Maiti
Tera Patron

 "Basic OAuth connection by providing the username and password but when I tested the credentials it throws an error"   - Where you have tested it? at Dynatrace end. 

 

If the issue at Dynatrace end, I think till your integration is successful and payload is moving properly to servicenow , it is fine. Yet to be in safer side, before moving the configuration to higher environment, I will suggest to raise a Case with Dynatrace Vendor. 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti