cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

Custom Connector Query Missing Trailing "/" ?

Hello,

I'm creating a Custom Connector and can't seem to get the final "/" on the query URL.

Scenario:

  • Going to...
    http://myCompany.com/path/to/api/<AssetID>
    ...returns JSON as expected
  • I pasted this URL into Request "Import From Sample". It shows as...
    http://myCompany.com/path/to/api/
    ...with AssetID showing under "Query".
  • api.png
  • When testing, the URL is transformed to...
    https://msmanaged-na.azure-apim.net/apim/connectorName.big.long/string/path/to/api?<AssetID>=stringHere
  • NOTICE: There is no "/" between "/api" and "?". 
  • I'm getting a 404 error and I think it has to do with this. How do I add a "/" here?

Thank you!

1 REPLY 1
Highlighted
Community Support
Community Support

HI @ericonline,

Could you please share a bit more about your Host Path that you typed within your custom connector?

I assume that the Host Path that you typed within your custom connector is myCompany.com, please take a try to type the following URL path within the URL field of "Import from sample" panel:

 

/path/to/api?AssetID

 

13.JPG

then try your custom connector again, check if the issue is solved.

More details about customizing connector within PowerApps, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/register-custom-api

In addition, please also check if you have typed proper request URL Path which must match the URL patch defined within your OpenAPI definition file.

 

Best regards,

Kris

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (10,936)