Solved uvDESK rest api
-
Hi,
In the uvDESK community edition, after configuring the API following this doc https://www.uvdesk.com/en/blog/api-resource/ and when accessing through the postman got this error in the dev.log file.
[2020-08-01 01:07:51] request.INFO: Matched route "uvdesk_api_bundle_api_tickets_v1.0_fetch_tickets". {"route":"uvdesk_api_bundle_api_tickets_v1.0_fetch_tickets","route_parameters":{"_route ":"uvdesk_api_bundle_api_tickets_v1.0_fetch_tickets","_controller":"Webkul\UVDesk\ApiBundle\API\Tickets::fetchTickets"},"request_uri":"http://172.16.122.41/uvdesk/helpdesk-project/publi c/api/v1/tickets","method":"GET"} []
[2020-08-01 01:07:51] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"uvdesk_api","authenticators":1} []
[2020-08-01 01:07:51] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"uvdesk_api","authenticator":"Webkul\UVDesk\ApiBundle\Security\Guards\APIGuard"} []
[2020-08-01 01:07:51] security.DEBUG: Calling getCredentials() on guard authenticator. {"firewall_key":"uvdesk_api","authenticator":"Webkul\UVDesk\ApiBundle\Security\Guards\APIGuard"}The postman response windows got this error..
{
"status": false,
"message": "An unexpected error occurred. Please try again later."
}What could be the issue ? How to debug furthur ?
From
Arunachalam -
Please follow this guide:
https://www.uvdesk.com/en/blog/api-resource/Also API's:
https://github.com/uvdesk/api-bundle/wiki/Ticket-Related-APIs