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
Community Support Team
Community Support Team

Re: Custom Connector Query Missing Trailing "/" ?

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
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 388 members 4,808 guests
Please welcome our newest community members: