Skip to main content

Notifications

Power Automate - Using Connectors
Answered

403 error with custom connector to open/no authentication api

(0) ShareShare
ReportReport
Posted on by 24

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?

  • Verified answer
    MuchTooMany Profile Picture
    MuchTooMany 24 on at
    Re: 403 error with custom connector to open/no authentication api

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard

Featured topics