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 :
Small and medium business | Business Central, N...
Answered

Unable to Send ETag Header Value

(0) ShareShare
ReportReport
Posted on by 87

I have tried multiple ways to try to send the ETag so I can submit a PATCH to update a vendor and I get an error response every time.  So, I atttempted to create a EntityTagHeaderValue object to send with the request and even it throws an exception:

var eTagHeader = new EntityTagHeaderValue(etag);

The exception thrown:

"The specified value is not a valid quoted string."

So, I figured it was the escaped double-quotes, so I attempted to replace them:

var eTagHeader = new EntityTagHeaderValue(etag.Replace(@"\""", ""));

That resulted in the same exception.  How does one retrieve the eTag from Business Central and send that back in a PATCH request?

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    Someone else had a similar issue in the past: https://community.dynamics.com/nav/f/microsoft-dynamics-nav-forum/241021/etag-value-not-valid-on-put-request

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans