Skip to main content
Solved

HTTP Connector -4 - Unsuccessful (invalid headers).

  • November 1, 2021
  • 4 replies
  • 138 views

Which headers for an API request are implicitly filled by the SF?

I want to call an API and the error message is -4 - Unsuccessful (invalid headers).

I also use a header [{ "Key": "x-api-key", "Value": "123"}].
 

I have successfully called the API with the following headers in Postman.

 

Again there is too little information in the documentation and this costs me a lot of time to figure out by trial-and-error.

 

Best answer by Rolf Goossen

Resolved:

Using only the x-api key in the header including [{ combined with changing my response domain to nvarchar(max) instead of varchar(max)

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

4 replies

Forum|alt.badge.img+17
  • Moderator
  • 766 replies
  • November 2, 2021

Can you check the indicium log and post the contents here for the http call? 

 


  • Author
  • Sidekick
  • 14 replies
  • November 2, 2021

 

@Erwin Ekkel  thanks for replying, I don't see any targeted error in our basic indicium.
I can send the log by e-mail if necessary. I am not aware of whether this is sensitive information.


  • Author
  • Sidekick
  • 14 replies
  • November 2, 2021

 


  • Author
  • Sidekick
  • 14 replies
  • Answer
  • November 3, 2021

Resolved:

Using only the x-api key in the header including [{ combined with changing my response domain to nvarchar(max) instead of varchar(max)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings