Avatar

Create database Error

0

Hi,

I am trying to use the 'CreateDatabase' call on the Geotab API but i keep getting captcha exception errors, i get these same errors whether i try it on the client or on the server side, but the captcha answers are correct. The call keeps giving this error and it will maybe succeed and create the db on the 10th attempt

Olwethum

Please sign in to leave a comment.

2 comments

0
Avatar

Hello Olwethum,

Can you provide the API call you are sending in? Please omit the password. What server were you trying these calls against?

Wajih Qazi 0 votes
0
Avatar

My call is as shown below

var call = geotab.api.post;

var createDatabase = function (params) 

{
var processResult = function (results) {
var parts = results.split('/');

return {
server: parts[0],
database: parts[1],
userName: params.userName,
password: params.password
};
};

return call('my.geotab.com', 'CreateDatabase', params).then(processResult);
};

 

Olwethum 0 votes