Error in REST API

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
damsel
Posts: 7
Joined: 01 Feb 2018, 20:52

Error in REST API

Post by damsel »

2.19 version
Our system worked perfectly until the server was upgraded to EasyApache/PHP 7.2

Since then, we are getting these errors when trying to use the API:

[11-Mar-2019 16:27:50 UTC] Client error: `POST http://ourdomain.com/bugs/api/rest/issues` resulted in a `401 API token required` response

I'm at a loss at this point, we tried creating a new token, this had no effect. The previous token indicates the last use was right before the upgrade. The new token indicates never being used.
damsel
Posts: 7
Joined: 01 Feb 2018, 20:52

Re: Error in REST API

Post by damsel »

I can successfully bring up the list of issues if I access that link. It seems to be just on auth of the token where we have the issue.

I've also enabled this already---previous to having the issue "now" we had it in the past, and it was fixed by doing this:

https://www.cyotek.com/blog/restoring-m ... -using-php

However it did not seem to fix the issue this time.
Post Reply