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

Announcements

No record found.

News and Announcements icon
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 40
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
    239,632 Most Valuable Professional on at
    Which connector are you using in Logic Apps?
     
    (Moved from Dynamics AX forum.)
  • Mahesh.0507 Profile Picture
    40 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
    239,632 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 804

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 639 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 528

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans