Skip to main content

Notifications

Power Pages - Customize & Extend
Under review by Community Managers

Under review

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

Custom Connector issues

Posted on by 73
Attached is my custom connector thats giving me a fit.
Never have I had such an issue.
In the custom connector, using the last tab "TEST" feature, I believe this error being returned, is misleading and likely false from my server. I suspect something behind is broken.

 

Schema validation

   
 
I suspect the Power Platform APIM behind the scene has issue with this.
 
 
 
Here is the backstory and setup:
 
  1. locally on my home PC, I have installed Ollama and its working locally and externally

  2. The external access is using CloudFlaired tunnels (and where I suspect the issue with the Power Platform)

  3. The API works in postman using the external and localhost endpoints

    1. https://ollama.davidsoden.com

    2. http://localhost:11434 

  4. The external endpoint It also tests good on https://www.site24x7.com/tools/restapi-tester.html

    1. POST

    2. Host = https://ollama.davidsoden.com/api/generate/

    3. Action Header  =  Content-Type application/json

    4. body = 
      {
        "model": "llama3.1",
        "prompt":"tell me a joke",
        "stream": false
       }
       

  5. because of how this works I can see in the console of postman and in the site24x7.com tool that there is an additional header of 307 redirect happening, and this is where I think the power platform is not able to handle it. Hard to tell but the server endpoint testing works everywhere else except when testing inside the custom connector on the power platform

  6.  
I am wondering is there something I am missing, a custom connector config work around or is this just no use?
Keeping in mind I do not want to change any of the infrastructure or DNS to bypass the current configuration or to install platform gateways.
I am only testing and recording videos and have never ran into this issue building a custom connector (then again I never used CloudFlair to tunnel to a server before) 
Categories:

Helpful resources

Quick Links

October 2024 Newsletter…

October 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #4 How to Conntact Support…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 142,733

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,750

Leaderboard

Featured topics