Orchestrator HTTP Request returns html instead of json

I am trying to get all the tasks in Action Center using an Orchestrator HTTP Request activity, but when I try to log the JSONResponse output, it’s html instead (shown on the picture bellow)

Here are the properties of the activity:
image

The RelativeEndpoint is https://platform.uipath.com/odata/Tasks

Am I missing something?

Have you read through the HTML to see what content is being returned? It may provide some clues, I suspect your are receiving the HTML for the output of something like

image

The URL will look something like

https://cloud.uipath.com/<organization/<tenant>/orchestrator_/odata/Tasks