cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Function trigger-function failed with error-code: 541 Unknown

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

What is HTTP Error code 541 mean when trying to call an app function? The app function calls an external service. How to troubleshoot this? 

Screenshot 2022-12-13 at 13.41.32.png

Senior Product Manager,
Dynatrace Managed expert
2 REPLIES 2

dirk_wall
Dynatrace Helper
Dynatrace Helper

Hey Radek,

Could you please check if the external endpoint you try to connect to is in the Dynatrace JavaScript Runtime allow-list?

Allow outbound connections | Dynatrace Developer

Nevertheless, I agree that we need to improve the error message here but this is already on the way AFAIK.

Cheers,
Dirk

OK. Good hint! Indeed we're using a custom endpoint via the AWS API gateway. For the sake we've disabled the limitation to outbound connections to endpoints in the allow-list like that:

 

Radoslaw_Szulgo_0-1671044461256.png

 

This helped. We'll turn it on and add our endpoint to the list. Thanks Dirk!

Senior Product Manager,
Dynatrace Managed expert

Featured Posts