Forum Discussion

ScottFraleyPAC's avatar
ScottFraleyPAC
New Member
8 years ago
Solved

Getting a 500 Internal Server Error when calling the API for my datasource

After spending 3-4 days getting my Python code just right, I was FINALLY ready to start posting data, via the api.powerbi.com API I got when I'd created my data source. So I spin up the script/app an...
  • ScottFraleyPAC's avatar
    8 years ago

    Figured it out. 

     

    I finally thought to print the POST data that I created in my Python script and found that I'd forgotten to put quotes around a string. </Blush>

     

    Seems to be working just great now. Well, except that it seems that my report isn't updating 'Live,' and I'm having to hit Refresh on said report, even though it's data source is an API that I'm POSTing to every 1.09 seconds.

     

     

    -SKF