web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

DataEntity OData Call Returning 502 Bad Gateway Error in Application/Octet Format

(1) ShareShare
ReportReport
Posted on by 32
Hi all, 
 
I'm currently facing an issue with my Logic App when attempting to insert records via OData calls to a Data Entity in Dynamics 365 for Finance and Operations (D365FO).It's throwing a status code 502 & the JSON response content is returned in application/octet-stream format.
 
 
Upon decoding, it was an HTML code of a 502 Bad Gateway error pop-up box.
 
I need to understand Why is the response content encoded & returned in application/octet-stream instead of a string [Bad Gateway]?
 
Is there a way to configure the response headers in the D365FO environment to ensure that errors are returned in a string/text format rather than application/octet-stream?
 
 
 
 
 
Thanks !
 
 
 
I have the same question (0)
  • Martin Dráb Profile Picture
    237,874 Most Valuable Professional on at
    Which connector are you using in Logic Apps?
     
    (Moved from Dynamics AX forum.)
  • Mahesh.0507 Profile Picture
    32 on at
    Hi Martin Dráb !

    Currently I'm not using any, this is a HTTP action. I've switched from F&O connectors to HTTP action OData calls due to rate limits.
  • Martin Dráb Profile Picture
    237,874 Most Valuable Professional on at
    Another alternative is the Dataverse connector (with F&O data entities as virtual entities).
     
    Before trying to import anything, are you able to successfully list entities (/data/ endpoint)?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 659 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 533 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 289 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans