error 400 api
Hi,
I am trying to pull data from the API and have only managed to get the access token so far. However, any further requests end up with a bad request status 400 despite following every step of the documentation.
Here is the curl command I am using:
curl "https://{url}/openapi/v1/{omadacId}/sites" -H 'content-type:application/json' -H 'Authorization:AccessToken={token}' -X GET -i
No issue from the {} variables, as I got the access token using the same ones.
response :
{"timestamp":1722332116590,"status":400,"error":"Bad Request","path":"/openapi/v1/{omadacId}/sites"}
Do you have any hints or suggestions on what might be going wrong?
Thank you.