Hello Everyone,I am trying to create a ticket via java api. I am getting error 'URL not supported' response code: 400.I am using a secure domain format: 'https:/zzzz.XXXXX.com/'What can be the reason for this error?Can anybody tell me how to check the error logs in details?
Code 400 is a generic error bad requestWhat's your Environment details?Which Version of osTicket?
This does not appear to be a suggestion or feedback. Moving thread to Mods and Customizations.
@[deleted]Version: osTicket (v1.10.1)Can you please tell me what properties do you need for Environmental details?
You can get this details under admin panel
This is the version I am running on live:
osTicket Version v1.10.4 (035fd0a) — Up to date
Web Server Software Apache
MySQL Version 5.7.23
PHP Version 7.0.32
ramrajone osTicket (v1.10.1) mysql Ver 14.14 Distrib 5.7.23, for Linux (x86_64) using EditLine wrapper PHP 7.0.32-0ubuntu0.16.04.1 (cli) ( NTS )
Can you tell how I can check logs in details?
Hello @ntozier KevinTheJedi ramrajone
I have changed the versions of osTicket and PHP as mentioned above but I am stilling facing the same error. Can anyone tell me how to debug this problem? How to locate/check runtime logs for API(create ticket)?
anuragdhunna Logs location: osTicket logs can be found: /scp/logs.php /scp/system.php will tell you about your system info and the PHP Extensions info
your server logs maybe different: /var/log/mysql /var/log/apache2
Look at your apache and php configurations. They will tell you where the logs for each are located.
I would recommend that you upgrade to 1.10.4 which is the most recent stable. Some people have reported issues with php7. The devs still recommend PHP5.6.
We aim to support up to PHP 7.1.x in 1.11 stable (coming soon). ?
anuragdhunna Have you checked the osTicket logs can be found: /scp/logs.php?
maybe permission: All folders should be 755 and all files should be 644