Re: Sandbox Authentication failed SOAP

Arun_Sivashanka
Level 1

Sandbox Authentication failed SOAP

Hi-

I just tried to access the SOAP API from my application and I'm getting the 20014 "Authentication failed" error (below). The strange thing is that when I put in production credentials it works, so I think the encryption key is correct. Is there anything else that I might have missed for the sandbox API access?

Thanks!
 
error: Sending 500 ("Server Error") response:
 Error: Invalid response: 500
Body: <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>20014 - Authentication failed</faultstring><detail><ns1:serviceException xmlns:ns1="http://www.marketo.com/mktows/"><name>mktServiceException</name><message>Authentication failed (20014)</message><code>20014</code></ns1:serviceException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
Tags (1)
2 REPLIES 2
Kenny_Elkington
Marketo Employee

Re: Sandbox Authentication failed SOAP

Hi Arun,

Did you update the endpoint to reflect your Sandbox's endpoint URI?
Arun_Sivashanka
Level 1

Re: Sandbox Authentication failed SOAP

Hi Kenny-

Thanks for the response. I did change the endpoint in our app if that's what you mean. I used the endpoint that was in the admin -> Web Services -> SOAP API section of the sandbox.

Arun