Service Graph Connector for Observability - Dynatrace SaaS authentication fails with 401 error despite valid API token Issue When configuring the Service Graph Connector (SGC) for Dynatrace SaaS, the connection test fails with an HTTP 401 authentication error even when a valid Dynatrace platform token with the required permissions is configured. Symptoms The Dynatrace SaaS connection cannot be successfully tested from SGC Central.The connection attempt returns an HTTP 401 authentication response.Changing or expanding the permissions assigned to the Dynatrace platform token does not resolve the authentication failure.The outbound request does not contain the required Bearer authentication scheme when the API Key Prefix field is empty. Release All the supported versions of Service Graph Connector for Observability - Dynatrace Cause When the API Key Prefix in the API key credential associated with the Dynatrace SaaS connection is empty, the platform token is sent in the Authorization header without the Bearer authentication scheme.Dynatrace platform-token authentication requires the request header to use:Authorization: Bearer <platformtoken>Without the Bearer prefix, Dynatrace rejects the request with an HTTP 401 response. Resolution Verify the Outbound HTTP Connection record for the Dynatrace SaaS connection alias. Ensure the 'API Key Prefix' field is set to 'Bearer'.2. Update the API key credential record ('sys_rest_message_fn_headers') for the Dynatrace SaaS connection. Set the 'API Key Prefix' field to 'Bearer' and leave the API Key value as the token without the prefix.3. Re-test the connection in SGC Central. Confirm the 'API Key Prefix' remains 'Bearer' in Outbound HTTP Logs during testing.4. If the issue persists, collaborate with the Dynatrace admin to review the API request and test the request outside ServiceNow (e.g., via Postman) to validate functionality. Optional validation If the connection still returns a 401, temporarily enable the following HTTP logging properties and repeat the connection test.Review the resulting request in the sys_outbound_http_log table and confirm that the Authorization header is being constructed with the required Bearer scheme. glide.rest.outbound.debug = trueglide.outbound_http.content.max_limit = 1000glide.outbound_http_log.override = trueglide.outbound_http_log.override.level = all Note: Please revert the above properties after testing, as they produce more logs. Related Links Dynatrace Platform tokensConfigure Service Graph Connector for Dynatrace SaaS using SGC Central