Re: trying to download a lead, getting 406 Not Acceptable error

Anonymous
Not applicable

trying to download a lead, getting 406 Not Acceptable error

I just started working with the SOAP API, got some basic calls working,
but can't download a lead -- I get a 406 Not Acceptable error with the message
"The resource cannot be displayed because the file extension is not being accepted by your browser."

This has to be something simple I'm missing -- anyone know?
(I'm calling from a command-line app, not from a browser, but
not sure how that's related)
 
Tags (1)
2 REPLIES 2
Kenny_Elkington
Marketo Employee

Re: trying to download a lead, getting 406 Not Acceptable error

Hey Andras,

Can you provide an example of the call which failed with your Auth Header omitted?
Anonymous
Not applicable

Re: trying to download a lead, getting 406 Not Acceptable error

 
well this is embarrassing... the error was on my end
I misconfigured the test case and was reaching the wrong server

Thanks for the quick response!

It was actually gathering up the request that helped me find the problem...
it reminded me that the on-line docs had sample calls, so I went to compare
against the sample and noticed the my mistake.  Good docs!