You need to sign in to do that
Don't have an account?
James Storer 1
External Services Schema no longer accepting Authorization Header (via Flow)
Hello, I'm having an issue where I want to invoke an API however I can't use the Schema to input the API key.
In example 7 of this help doc:
https://help.salesforce.com/s/articleView?id=sf.external_services_examples_openapi_3_0.htm&type=5
They show the ability to pass an API key via header. However in this doc:
https://help.salesforce.com/s/articleView?id=sf.enhanced_external_services_considerations.htm&type=5
It states that the "Authorization" header is set by the External Service and cannot be overridden by OpenAPI as in input parameter. How then can I create a named credential that sends the header:
"Authorization" : "Bearer (API KEY)"
In example 7 of this help doc:
https://help.salesforce.com/s/articleView?id=sf.external_services_examples_openapi_3_0.htm&type=5
They show the ability to pass an API key via header. However in this doc:
https://help.salesforce.com/s/articleView?id=sf.enhanced_external_services_considerations.htm&type=5
It states that the "Authorization" header is set by the External Service and cannot be overridden by OpenAPI as in input parameter. How then can I create a named credential that sends the header:
"Authorization" : "Bearer (API KEY)"
Check below reference.
https://salesforce.stackexchange.com/questions/324887/using-named-credentials-to-send-api-key-in-authorization-header
https://salesforce.forumming.com/question/3150/using-named-credentials-to-send-api-key-in-authorization-header
Please mark as Best Answer if above information was helpful.
Thanks,
visit here:https://mcdonalds-breakfast-menu.info/