"Your account has expired" API Token Acunetix intergration

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
johnq
Posts: 1
Joined: 09 Apr 2024, 14:48

"Your account has expired" API Token Acunetix intergration

Post 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]
Attachments
issue.png
issue.png (33.18 KiB) Viewed 148 times
dregad
Developer
Posts: 76
Joined: 26 Jul 2010, 14:24

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

Post 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
Post Reply