Solved

HTTP Connector -4 - Unsuccessful (invalid headers).

  • 1 November 2021
  • 4 replies
  • 78 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.

 

icon

Best answer by Rolf Goossen 3 November 2021, 13:35

View original

4 replies

Userlevel 5
Badge +9

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

 

 

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

 

Dissolved:

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

Reply