JSON parsing error
Code in Power Apps button Click
Code in Web API Action
All code above is simple, and I find a similar question with a reply by 'Solution Supplier', he suggests questioner to use the flow instead of directly executing:
Should I also use this method to solve my error?
Attach new settings:
completed setting of custom connector
Hi @victorcp,
I have found lack of type setting in my custom connector , so your suggestion do work after I complete setting.
Thanks.
Hi @victorcp ,
I have adopted your code, but Power apps still shows the same error.
I guess the ParseJson function which looks like the var keywork in C# converts a json string to be an untyped object, so I can call some fields of the 'WeatherObj', just like the picture as followed:
new error without using ParseJson function
Custom Connector Setting
Thanks
Hi,
Looks like it is not necessary to use the ParseJson function because the custom connector already parse it to you, so try this:
Set(
WeatherObj,
LocalWebAPI.CallLocalAPI()
);
Please let me know if it worked, if not please share the error
WarrenBelz
146,769
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional