osTicket has been updated to 1.18.1, and seemed to be running OK. However, we weren't receiving tickets, and investigating the logs revealed API error (401); valid API key required. Updating the API key doesn't seem to have resolved anything; apart from anything else we can't assign IPs to them, as they can be dynamic. Is there anywhere I can resolve this in the code?

OS: Ubuntu 24.04 Noble
PHP version: 8.1.31

  • KevinTheJedi replied to this.
  • acunnane

    The only way you’d get that error is if you are creating Tickets via API. If that’s the case then a single API Key can only be assigned to a single IP Address. Dynamic IPs will not work unless you create a key for every ip and have your script be able to determine the sending ip and use the correct key which is super hard.

    Cheers.

    acunnane

    The only way you’d get that error is if you are creating Tickets via API. If that’s the case then a single API Key can only be assigned to a single IP Address. Dynamic IPs will not work unless you create a key for every ip and have your script be able to determine the sending ip and use the correct key which is super hard.

    Cheers.

    Many thanks!

    Write a Reply...