Custom app not sending header

:bullseye: What is your goal?

Build a custom app

:thinking: What is the problem & what have you tried?

I made a custom app. The universal Make Any API Call module works fine. However, any other modules using other action type refuses to pass the authentication header configured in the Base module and every call returns “[401] Not Authorized”

:clipboard: Error messages or input/output bundles

Example, a GET endpoint that doesn’t require any header, query parameters, or body has its Communication block configured as:

{
"url": "/current_company",
"method": "GET",
"response": {
"output":
"{{body}}"
}
}

I can’t figure out why these modules will not send the header configured in the Base module.

Have you checked if the auth header is actually being added to the request in the other modules? Since the Universal API Call works with the same connection, I’d compare the request from that module with one of the action modules. If the Authorization header is missing there, it might be something in how the authentication is set up in the Base module.

Have you checked the scenario’s execution log on a run that failed and see if the Authorization header is present in the outgoing request. Also check if the modules code defines it’s own “headers” object anywhere? Make automatically merges Base into modules unless that module has its own headers. In that case they are overwritten instead of merging. That will let you know if it is an issue with mapping or something else.