cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
maheshmarthi
Level: Power Up

Unable to make a simple get operation using custom connector in powerapps

I was looking to get Ip address using api.ipify.org

 

There were few threads

 

https://powerusers.microsoft.com/t5/Using-PowerApps/GET-CLIENT-IP-ADDRESS/td-p/146788

https://powerusers.microsoft.com/t5/General-Discussion/Simple-custom-API-for-my-IP-address/m-p/18736...

 

which were suggesting some changes. But none of them is working.

 

It is a simple get operation. and i am gettting below error every time.

 

"error": {
    "code": 500,
    "message": "Expression value is invalid. The template field is required.",
1 REPLY 1
maheshmarthi
Level: Power Up

Re: Unable to make a simple get operation using custom connector in powerapps

Got it working...

 

use below swagger:

{
  "swagger": "2.0",
  "info": {
    "title": "IPIFY",
    "description": "",
    "version": "1.0"
  },
  "host": "api.ipify.org",
  "basePath": "/",
  "schemes": [
    "https"
  ],
  "consumes": [],
  "produces": [],
  "paths": {
    "/": {
      "get": {
        "responses": {
          "default": {
            "description": "default",
            "schema": {}
          },
		  "200": {
            "description": "default",
            "schema": {}
          }
        },
        "summary": "GetIP",
        "parameters": [
          {
            "name": "format",
            "in": "query",
            "required": true,
            "type": "string",
            "default": "json",
            "x-ms-visibility": "internal"
          }
        ],
        "operationId": "GetIP"
      }
    }
  },
  "definitions": {},
  "parameters": {},
  "responses": {},
  "securityDefinitions": {},
  "security": [],
  "tags": []
}

 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

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

Users Online
Currently online: 47 members 4,515 guests
Please welcome our newest community members: