cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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

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?

2 REPLIES 2

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!

Anonymous
Not applicable

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://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d3MuUmVhZC5BbGwiLCJzdWIiOiJEaXJVdVV1ZDdGS3RLa3VkbGF6SmdWSVZPdm1BNmJaUmJQbjRKYk5ra1c0IiwidGlkIjoiNzg5MzU3MWItNmMyYy00Y2VmLWI0ZGEtN2Q0YjI2NmEwNjI2IiwidW5pcXVlX25hbWUiOiJndWlsaGVybWUuZnJhZ2FAdmFsZS5jb20iLCJ1cG4iOiJndWlsaGVybWUuZnJhZ2FAdmFsZS5jb20iLCJ1dGkiOiJ6VVN3Vl9YM1JVMmk5N003VEtJOUFBIiwidmVyIjoiMS4wIn0.u2Z_F9ZLmwUAJzCoHEA5I5XkmjnYdPCgwJm2bKonsD89jQMplmEJ4ALU55_OMVNYgE_2uDRSntCAncuTpQ1L2Eao59yjXVTflntoHIwifp_Lww0o_6NBv9kGe3tNoX-oHQTc2HeXKW7WnVllwMbODW-_mXdrzNT4uOkLQi23gHHgecuuuB7iEPZK8XIF7RgYSQpf9rXTYNsZq6Z3AjFQU8wUi46GvZHaKfrBT92-WnAgyvnqRhUrdZ_geWxhN16nHwtn2qnrrf6TGGxeG5Gphe_X1bZGE07fRYyv78esfObzJpZZ7GeGiW05rO8hYwAQhv6PSxGDCtVwPJ84SnItAg"
}

 

Thanks!!

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,450)