Forum Discussion

katietran0467's avatar
3 years ago
Solved

POST API works well in Postman, not in Power BI

Hi everyone,   I followed the API Documentation here: https://docs.clockify.me/#tag/Time-Entry-Report/operation/generateDetailedReport   In Postman, it works very well.     However, it d...
  • katietran0467's avatar
    3 years ago

    Hi everyone,

     

    After many attempts, I found the reason: my Postman and my Power BI's API key is not the same: (1) with full permission and (2) with the limited permission.

     

    I tested the API key with limited permission in Postman and the result is as below.

     

     

    After testing, with the old API key with limited permission, it returns (400): Bad Request. If I added ""amountShown"": ""HIDE_AMOUNT"" in the body, it works as well.

     

    Hope it helps.