Forum Discussion

smpa01's avatar
smpa01
Community Champion
1 year ago
Solved

sqlEndPoint metadata refresh

curl -X POST \ "https://api.fabric.microsoft.com/v1/workspaces/<ws_id>/sqlEndpoints/<sql_enddpoint_id>/refreshMetadata" \ -H "Authorization: Bearer <your-access-token>" \ -H "Content-Type: app...
  • lbendlin's avatar
    1 year ago

    it believes that a refresh is not necessary in the current circumstances.

  • v-veshwara-msft's avatar
    1 year ago

    Hi smpa01 ,

    Thanks for sharing this in Microsoft Fabric Community.
    As mentioned by lbendlin , the behavior you're seeing is expected. The refreshMetadata call checks if a refresh is needed based on recent changes, and if it determines that there's no schema change or update requiring sync, it completes with a 200 response and status as NotRun.

     

    This means the service has received the request but didn't find any reason to run the refresh job.

    As you pointed out, if the preceding transaction didn't introduce any structural changes to the table, this outcome is expected.

     

    Blog Reference : Refresh SQL analytics endpoint Metadata REST API (Generally Available) | Microsoft Fabric Blog | Microsoft Fabric

     

    Please reach out for further assistance.

    Thank you.