Question

We hit an error adding your new account

  • 1 July 2020
  • 4 replies
  • 827 views

Userlevel 1

Hi,

I am trying to connect to our api using - API key authentication option.

Api is reachable from outside.

Yesterday login was working ok.

Today no matter what I keep on getting this message (see attachment)

Checked on the online incident tracker Zapier but nothing showing.

Thank you


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

Userlevel 7
Badge +12

@dimanche - Did you try looking for the error details in the Monitoring section in your app dashboard?

Userlevel 1

Hi,

Yes checked there but it did not provide much information.

 

Userlevel 7
Badge +12

@dimanche - Looks like a timeout issue. Would you mind posting the code that led to this error?

Userlevel 1

Hi,

Here the code from the authentication;

const options = {
url: 'https://auth.sender.net/api/login',
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
params: {
'password': bundle.authData.password,
'email': bundle.authData.email
},
body: {

}
}

return z.request(options)
.then((response) => {
response.throwForStatus();
const results = response.json;

// You can do any parsing you need for results here before returning them

return results;
});

Error comes when authenticating the credentials it makes that timeout.

Despite credentials are working outside Zapier.

 

Thanks