Page 1 of 1

"Your account has expired" API Token Acunetix intergration

Posted: 09 Apr 2024, 14:56
by johnq
[issue]
Hi guys!

I'm trying to integrate my Acunetix with MantisBT , on the Intergration page after entering my API token. When I tested my connection it says " Your account has expired " . I couldn't for the life of me find the config for it stating that it's expired. I've checked the database and there's no indication that the API account or the account is expired.

It worked before but not now.

Have attached the file on this post.



[/issue]

Re: "Your account has expired" API Token Acunetix intergration

Posted: 20 Apr 2024, 15:55
by dregad
Are you sure the error message is about the MantisBT account and not your Acunetix (whatever that is) ?

There is no such concept of "expired" account in MantisBT, either you have a valid REST API token or you don't, in which case you'd get an error (HTTP 403) stating that the token does not exist.

You can test your token with a simple curl call, e.g.

Code: Select all

curl -H "Authorization: {{your_token}}" -v https://example.com/mantis/api/rest/users/me

Re: "Your account has expired" API Token Acunetix intergration

Posted: 15 May 2024, 12:25
by johnq
Hello! I solved this by changing some of the source code (Unfortunately, couldnt remember where I got the fix from). But thanks!!