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 / Empty payload. JSON Ex...
Power Apps
Unanswered

Empty payload. JSON Expected Graph API

(0) ShareShare
ReportReport
Posted on by 34

Hello,

I have created a custom connector for testing and I cannot get it working with POST methods. 

The weird thing is that if I test the custom connector from the configuration it works, but when I'm trying to test the method through clicking a button in PowerApps I've got the following error message:

Braaank_1-1657140388054.png

 

This is what I received when testing the custom connector:

Braaank_2-1657140479164.png

 

I was having a similar issue with the header "Content-Type" and I had to create a policy in order to set it.

 

Am I missing something here?

 

Thank you in advance.

Categories:
I have the same question (0)
  • Ionaaa Profile Picture
    94 on at

    You could try to use the JSON() function on the record argument, that way at least you can force it.
    Also, if you trace the call with the browser development tool, you can see what happens 😉

  • Verified answer
    Braaank Profile Picture
    34 on at

    Hi, I was able to fix this replacing the formula. It seems that the column

    'fields.Title' is not valid, as it is not the same as putting 

     

    GraphAPICustomConnector.CreateSpItem({fields:test})

     

    Where "test" is a varible that's been set like this:

    Set(test;{Title:"test"})

     

     

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