Hi all,
I'm trying to make a custom connector with the Bank of Canada API in order to update a bunch of exchange rates in comparison to USD.
I tried to follow the documentation as much as I could but I get no response when I test it.
Here's all the information I added:
Scheme: HTTPS
Host: bankofcanada.ca
Base URL: /valet
Security: No Authentication
Summary: Get Exchange Rate
Description: Get the rate based on the USD
Operation ID: GetExchangeRate
Visibility: None
For the Request within the Definition Section, see the picture below
See the picture below for when I edit the path
When I run the test, I get this.
If you try to access this link via the browser https://bankofcanada.ca/valet/fx_rss/FXUSDCAD (which is what I try to query the server in Flow), it works just fine so I'm not sure why it's not working in here.
Any help is appreciated!!
Solved! Go to Solution.
ok
got it work , seems the browser add www. in the url and its ok
try copy past my swagger connector and customize comment field
swagger: '2.0'
info: {title: BankOfCA, description: '', version: '1.0'}
host: www.bankofcanada.ca
basePath: /valet/fx_rss/
schemes: [https]
consumes: []
produces: []
paths:
/: {}
/FXUSDCAD:
get:
responses:
default:
description: default
schema: {}
summary: CallRate
operationId: callrate
parameters: []
definitions: {}
parameters: {}
responses: {}
securityDefinitions: {}
security: []
tags: []
Not an expert but a think body response is not valid for custom connector.
I've done the same custom connector with the same "unknown" response.
You can test the called url with your browser you'll get the file, don't forget to add bearer.
ok
got it work , seems the browser add www. in the url and its ok
try copy past my swagger connector and customize comment field
swagger: '2.0'
info: {title: BankOfCA, description: '', version: '1.0'}
host: www.bankofcanada.ca
basePath: /valet/fx_rss/
schemes: [https]
consumes: []
produces: []
paths:
/: {}
/FXUSDCAD:
get:
responses:
default:
description: default
schema: {}
summary: CallRate
operationId: callrate
parameters: []
definitions: {}
parameters: {}
responses: {}
securityDefinitions: {}
security: []
tags: []
Worked just fine, thanks!
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
3 | |
3 | |
2 | |
2 | |
2 |