Forum Discussion

Camila_IB's avatar
Camila_IB
Copper Contributor
Oct 19, 2022
Solved

Error message trying to retrieve Projects table (POL) using OData Flux in Excel / Power Query

Hello, I have been using an OData flux for the past 6 months to be able to create Excel reports using the data we have in Project Online. It was working great and for some reason now it just stopped working.

 

I keep getting an error message (see screenshots in the next session) when trying to retrieve the "Projects" table specifically.

 

It is weird as all the other tables I am still able to retrieve the data from. I made sure to double check the authentication credentials and login with my proper Professional Account and it still gives me the error. I tried connecting to my company VPN and it made no difference. I have tried everything I could and can't find a solution. This is a huge blocking as most of our reporting uses data from Project Online.

 

Any ideas?

 

Please find below screenshots of the whole process and the error message:

 

 

Trying to retrieve the "Tasks" table works perfectly for example:

 

But the "Projects" table, which is essential for us, will keep giving me an error:

 

 

 

Any troubleshooting ideas would be greatly appreciated!

 

Thank you!

 

 

 

 

  • Camila_IB's avatar
    Camila_IB
    Oct 21, 2022

    Hello Paul_Mather ,

     

    After much googling I was finally able to resolve the issue.

     

    At the beginning of this week my team and I did a clean up of the custom project fields that we use in Project Online. Turns out that there are certain specific words that can cause issues with the OData flux, such as "Project", "Category" etc...

     

     

     

    Basically you have to be careful when naming the custom fields, as some words are reserved in some way:

     

    This was the post I found that was helpful: https://techcommunity.microsoft.com/t5/project-support-blog/project-online-using-reserved-custom-field-names-breaks-odata/ba-p/361488

     

    I should have realised it was something to do with the fields as the issue appeared a day after we did that clean up in Project Online.

     

    Really appreciate your help with this! Hopefully this can be useful for other people running into the same issue in the future.

     

    Have a great day.

     

    Best,

    Camila

6 Replies

    • Camila_IB's avatar
      Camila_IB
      Copper Contributor

      Hello Paul_Mather ,

       

      Unfortunately it is not loading any data when entering that new URL. Here is what I get:

       

       

      However, I can see my project list without any issues when accessing the following URL:

       

      https://{tenantName}.sharepoint.com/sites/construction-pwa/Projects.aspx

       

       

       

      Any ideas?

       

      Appreciate the help!

       

      Thank you!

       

      Best,

      Camila

       

       

       

      • Paul_Mather's avatar
        Paul_Mather
        MVP

        Hi Camila_IB ,

        I've just noticed the site in not in English, try this:

        https://{tenantName}.sharepoint.com/sites/construction-pwa/_api/ProjectData/Projets

        Paul

Resources