Hello,
I´ve created an custom connector in order to get the data out of barcodes. The service provided me with an API- key, though it also works without one, it just wont show the whole information of that barcode.
So the connector works perfectly with the data that I have testet it with but as soon as I add the API- key to the header, I get this error when executing the flow:
InvalidTemplate. Unable to process template language expressions in action 'Get_Barcodes' inputs at line '1' and column '2616': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_inlite.20test.5fde9561408efef971.5f92ee9c5ac6561bb3_1']['connectionId']' cannot be evaluated because property 'shared_inlite.20test.5fde9561408efef971.5f92ee9c5ac6561bb3_1' doesn't exist, available properties are 'shared_inlite.20test.5fde9561408efef971.5f92ee9c5ac6561bb3'. Please see https://aka.ms/logicexpressions for usage details.'.
I have tried the same thing using Postman and it just works there. The parameters are
- Type: API- Key
- Key: Authorization,
- Value: [API- Key],
- Add to: Header.
In the flow- connector, I´ve configured:
- Type: API- Key
- Label: Authorization
- Name: Authorization
- Location: Header
And then I just provide the key in the connection.
Is there anything I´m doing wrong or is there a problem with flow?