List All Time Entries does not return data

Hello, I’m trying to make a dashboard in power bi consuming the /api/v2/time_entries API but it doesn’t return data. I can list all the tickets, the groups, the agents but not the times. I need the time_spent field for each ticket.

Thank you very much for your help.

Hi @AlvaroDangond,

Welcome to the community :tada:

Could you please share the curl command?

My .HTTP file

###
GET https://domain.freshdesk.com/api/v2/time_entries
Content-Type: application/json
Authorization:Basic <API key>:x

Hope this helps!

Hi Benny

I send you an image of the connection in Power BI. As can be seen, there is no connection error but the query does not return JSON.

I still can’t check the times in the rest-API.
Anyone else has happened?
How have you been able to solve it?