You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've read #186, but I'm still having trouble setting a header. I've created an httpClient but how do I "pass it in" here, is this supported?
As soon as I add this code (including without any header set), I get an error like this, which makes it seem like passing in the HTTP Header isn't working at all:
value": "
System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: <. Path '', line 0, position 0.)\n ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.\n at
I've read #186, but I'm still having trouble setting a header. I've created an httpClient but how do I "pass it in" here, is this supported?
As soon as I add this code (including without any header set), I get an error like this, which makes it seem like passing in the HTTP Header isn't working at all:
(My ultimate goal is to enable field truncation for a request, so we don't need to custom truncate every single field at the perfect length, per https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_header_allowfieldtruncation.htm.)
Here's the code. Note that I'm not sure this is the right header naming for this option, I haven't found SF documentation for setting it via HTTP:
(It looks like part of the issue I'm facing, at least, is the same as: #377)
The text was updated successfully, but these errors were encountered: