Hi
I built a test custom connector last year to an open api, host: https://api.service.hmrc.gov.uk with the GET path /organisations/vat/check-vat-number/lookup/{targetVrn}
Documentation here https://developer.service.hmrc.gov.uk/api-documentation/docs/api/service/vat-registered-companies-api/1.0
Sample VRN: 724594615
This worked fine and I forgot about it. I now need to use it in production and it won't work. I keep getting a 403 error from the connector, but the API works fine in Postman etc. I have rebuilt the connector several times and it still doesn't work. Is there something else I can try to fix it? Can anyone reproduce the error?
UPDATE: I managed to solve the issue. Posting the solution so that it may help others.
I found this post that suggested that the test was causing the 403 error Re: Response 403 from custom connector - Power Platform Community (microsoft.com) due to how Azure adds a bearer token when testing. Simply ignoring the test result and using the connector in a flow worked fine