Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Connector Development
Answered

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.

  • Verified answer
    Braaank Profile Picture
    34 on at
    Re: Empty payload. JSON Expected Graph API

    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"})

     

     

  • Ionaaa Profile Picture
    94 on at
    Re: Empty payload. JSON Expected Graph API

    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 😉

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 770 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 494

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 399

Featured topics