• pragya Mishra 41
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
Hi,

I read blockchain topics in salesforce trailhead,but I didn't get how we can create network and data model in salesforce.

Do we need to enable any settings for block chain or it would be a different trail account for same?

Regards,
Pragya
I am using Named Credential as an Identity Type and Password Authentication as an Authentication Protocol 
I have checked all three check boxes:
Generate Authorization Header.
Allow Merge Fields in HTTP Header.
Allow Merge Fields in HTTP Body.
While I am trying to execute below code,facing issues:

HttpRequest req = new HttpRequest(); req.setEndpoint('callout:HTTP_Basic_Credential/services/data/v32.0');
req.setMethod('GET');
//sending request

HTTP_Basic_Credential is a name of mine Named Credential.

While  I am setting Generate Authorization Header flag , I am receving below error:

[{"message":"INVALID_HEADER_TYPE","errorCode":"INVALID_AUTH_HEADER"}]

If flag is not set then getting :Session is expired.

 
Hi,

I read blockchain topics in salesforce trailhead,but I didn't get how we can create network and data model in salesforce.

Do we need to enable any settings for block chain or it would be a different trail account for same?

Regards,
Pragya