When trying to call the REST API associated to our subscription, we get the http error :
Error: read ECONNRESET
Everything seems configured correctly from the admin console.
The API only user is configured and has a role assigned and no ip restrictions are present ...
Either the Identity endpoint and the API endpoint give the same result .
It's urgent for us to start accessing the rest API, can you please help ?
Regards,
Gianantonio Cattozzo .
I'm feeling like this is something happening on your local network or HTTP client config, not the server.
What's your endpoint (there's no harm in posting it here as long as you don't provide credentials).
I agree with Sanford Whiteman in that it's most likely a local problem. That error and come from anywhere along the connectivity path, but the cause is most likely local. It could be configuration problem with your HTTP client, a proxy server, proxy config, or even faulty equipment like a switch or router.
You should test making other connections using the same method. You could try retrieving the WSDL for Marketo's ancient SOAP API as a test: https://developers.marketo.com/soap-api/ You could also copy your API access token from the Launchpoint service in your Marketo Engage UI and use it to access /rest/v1/leads/describe2.json with a simple get request. Add the token as a query parameter like this: /rest/v1/leads/describe2.json?access_token=XY123 and test from a browser on the same machine which could rule out factors from your development environment. That should help narrow down the problem significantly.
OK,
thank you for the answers.
We had a connection problem on our side on the devel environment .
Solved now.
Regards,
Gianantonio .
OK, please mark one of our answers as Correct, thanks.