web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Custom Connector works...
Power Apps
Unanswered

Custom Connector works on swagger, but can't pass on test phase

(0) ShareShare
ReportReport
Posted on by

Hello folks,  
Hope everyone is safe and fine


lets go
I got a custom connector origined by postman's collection called "Valeform" 

guiguifraga_0-1595520666860.png

 

The fact is: this API works fine on Postman and here in PowerApps, when I choose to open with swagger's editor and try to get, works well.

guiguifraga_1-1595520826068.png


Here is the swagger code

 

 

 

swagger: '2.0'
info: {version: 1.0.0, title: ValeForm, description: ValeForm}
host: valeforms.api.valeglobal.net
basePath: /
schemes: [https]
consumes: []
produces: [application/json]
paths:
 /api/reports/resultsbyform:
 get:
 summary: responses
 description: responses
 operationId: Responses
 parameters:
 - {name: oa, default: '615', in: query, type: string, required: true}
 - {name: startdate, default: '2020-06-11', in: query, type: string, required: true}
 - {name: formId, default: '10026', in: query, type: string, required: true}
 - {name: key, default: f1Jc719CUiYB5TXz38kXU5jr0M4a2v2p, in: query, type: string,
 required: true}
 responses:
 default:
 description: default
 schema: {}
definitions: {}
parameters: {}
responses: {}
securityDefinitions: {}
security: []
tags: []

 

 

 


after that, at test phase I got this message:

guiguifraga_0-1595521219764.png

 

The final round was in Postman, I tried to get data with test phase request parameters below: (URL): 

guiguifraga_1-1595521338919.png

 

Url in postman: 

guiguifraga_2-1595521415083.png


Result: 

guiguifraga_3-1595521443955.png

where did I go wrong?

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Can you share more details about the error that you are getting? I am not able to understand the error because it is in a different language. If you can copy paste the error or share more details about it, we might be able to help you better.

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    on at

    Hello @yashag2255 !! 

    So, the only error is:

     A solicitação falhou. Tente novamente em alguns minutos.

    that words means like: The request fails. Try again later.

    just it!! 
    I dont get any error code or something like that. To be better (or not), this links works well at Postman and swagger test. 

    I even tried to get the data with postman using the custom connector link generated at test tab, and works fine..

     

     

    the link is:
    https://msmanaged-na.azure-apim.net/apim/valeform-5fad9da30b8bd32621-5f797f2b825a89f487/691550e6a09f438bb10077552ffe9ac6/api/reports/resultsbyform?oa=615&startdate=2020-06-11&formId=10026&key=f1Jc719CUiYB5TXz38kXU5jr0M4a2v2p

    with header:

    {
    "Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Imh1Tjk1SXZQZmVocTM0R3pCRFoxR1hHaXJuTSIsImtpZCI6Imh1Tjk1SXZQZmVocTM0R3pCRFoxR1hHaXJuTSJ9.eyJhdWQiOiJodHRwczovL3NlcnZpY2UuZmxvdy5taWNyb3NvZnQuY29tLyIsImlzcyI6Imh0dHBzOi8vc3RzLndpbmRvd3MubmV0Lzc4OTM1NzFiLTZjMmMtNGNlZi1iNGRhLTdkNGIyNjZhMDYyNi8iLCJpYXQiOjE1OTU4NjAyNjUsIm5iZiI6MTU5NTg2MDI2NSwiZXhwIjoxNTk1ODY0MTY1LCJhY2N0IjowLCJhY3IiOiIxIiwiYWlvIjoiQVRRQXkvOFFBQUFBdHZmU1lZUytKaHd4THZydVVaL1BaU1o1d1Q1QXVjTE1RQXRVK1dpQi9WcUpWMTdYaFNwZ3QxVVRUaTJVbHdXayIsImFtciI6WyJ3aWEiXSwiYXBwaWQiOiJhOGY3YTY1Yy1mNWJhLTQ4NTktYjJkNi1kZjc3MmMyNjRlOWQiLCJhcHBpZGFjciI6IjAiLCJmYW1pbHlfbmFtZSI6IkZyYWdhIiwiZ2l2ZW5fbmFtZSI6IkdVSUxIRVJNRSIsImlwYWRkciI6IjIwMC42LjM1LjEwMSIsIm5hbWUiOiJHdWlsaGVybWUgRnJhZ2EiLCJvaWQiOiI2NTI1YTQ2Yi0xNGE5LTRjNzAtODQwMS02M2Q1MDdmMWVmZjEiLCJvbnByZW1fc2lkIjoiUy0xLTUtMjEtMTE2MTk3NTg5OC0zMDIzNjE5MjI0LTg5MDEzNzQ5OC04MTc1MzEiLCJwdWlkIjoiMTAwMzIwMDAzODk1RjcwMiIsInNjcCI6IkFwcHJvdmFscy5NYW5hZ2UuQWxsIEZsb3dzLk1hbmFnZS5BbGwgRmxvd3MuUmVhZC5BbGwiLCJzdWIiOiJEaXJVdVV1ZDdGS3RLa3VkbGF6SmdWSVZPdm1BNmJaUmJQbjRKYk5ra1c0IiwidGlkIjoiNzg5MzU3MWItNmMyYy00Y2VmLWI0ZGEtN2Q0YjI2NmEwNjI2IiwidW5pcXVlX25hbWUiOiJndWlsaGVybWUuZnJhZ2FAdmFsZS5jb20iLCJ1cG4iOiJndWlsaGVybWUuZnJhZ2FAdmFsZS5jb20iLCJ1dGkiOiJ6VVN3Vl9YM1JVMmk5N003VEtJOUFBIiwidmVyIjoiMS4wIn0.u2Z_F9ZLmwUAJzCoHEA5I5XkmjnYdPCgwJm2bKonsD89jQMplmEJ4ALU55_OMVNYgE_2uDRSntCAncuTpQ1L2Eao59yjXVTflntoHIwifp_Lww0o_6NBv9kGe3tNoX-oHQTc2HeXKW7WnVllwMbODW-_mXdrzNT4uOkLQi23gHHgecuuuB7iEPZK8XIF7RgYSQpf9rXTYNsZq6Z3AjFQU8wUi46GvZHaKfrBT92-WnAgyvnqRhUrdZ_geWxhN16nHwtn2qnrrf6TGGxeG5Gphe_X1bZGE07fRYyv78esfObzJpZZ7GeGiW05rO8hYwAQhv6PSxGDCtVwPJ84SnItAg"
    }

     

    Thanks!!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard