Forum Discussion

SalvaC's avatar
SalvaC
Advocate III
1 year ago
Solved

Still issues with Developer mode and Git Integration

Hello all

 

This is a follow-up post from this one: Developer mode & git for reports with live connection

 

Today, I retried this functionality, but there are still issues.

 

Now, I work with this approach:

  1. I Publish the Semantic Model through Git to the Workspace
  2. I create a new report and store it as a Project in a separate folder, which is not synced with the Workspace
  3. I manually publish the report to the Workspace
  4. I synced the added Report to Git, and all went well
  5. After a few seconds, I got a message that there was an Update from Git.
  6. I Try to Sync the Workspace with Git, and I get an error message with these Details:

 

Cluster URI https://wabi-west-europe-b-primary-redirect.analysis.windows.net/

Activity ID 8b9af226-3bed-4479-9f8c-324d652046ed

Request ID 8ef88ba7-097e-3c60-0552-0c4c2988511f

Workload Error Code Report_DiscoverDependencies_FailedToLoadReportDefinitionPart

Workload Error Message Report Workload failed to DiscoverDependencies for DefinitionId = 42057cb6-c0a3-4cf4-8981-203a4fcb39df and threw an exception with this message: Cannot read 'definition.pbir'. Unexpected character encountered while parsing value: p. Path 'datasetReference.byConnection', line 7, position 20.

Artifacts [Display Name: 'ContosoRetail' Type: 'report' ObjectId: '00000000-0000-0000-0000-000000000000' LogicalId: '42057cb6-c0a3-4cf4-8981-203a4fcb39df']

GitErrorDetails {"artifactType":"report","artifactDisplayName":"ContosoRetail","artifactLogicalId":"42057cb6-c0a3-4cf4-8981-203a4fcb39df","rootActivityId":"8ef88ba7-097e-3c60-0552-0c4c2988511f","httpStatus":0,"errorType":null,"errorCode":null,"errorSource":1,"targetCommit":null,"artifacts":null,"errorDetails":{"ErrorCode":"Report_DiscoverDependencies_FailedToLoadReportDefinitionPart","ErrorMessage":"Report Workload failed to DiscoverDependencies for DefinitionId = {0} and threw an exception with this message: {1}","ErrorParameters":["42057cb6-c0a3-4cf4-8981-203a4fcb39df","Cannot read 'definition.pbir'. Unexpected character encountered while parsing value: p. Path 'datasetReference.byConnection', line 7, position 20."],"ErrorCategory":null,"IsTransient":false,"AdditionalParameters":null,"ErrorSource":1,"UserInteractionRequest":null},"gitProviderErrorResponse":null,"culprit":1}

Time Sun Oct 13 2024 11:38:58 GMT+0200 (Central European Summer Time)

 

Has anyone else experienced this issue?

Is there any solution to this?

 

To me it looks like that the Power BI service changed the published report and now there is the need for a Sync.

 

At this time I still have the message, that there is an Update from Git. But I cannot Sync.

 

Regards

Salvatore

 

BTW: The original post was by me as well, but as I changed employer, my account was deleted. Therefore "Anonymous".

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi SalvaC ,

    It seems like you're encountering an issue with Git integration in Power BI Developer mode. Based on the error message provided, it appears that there might be a problem with the report definition file ('definition.pbir'), which is preventing the service from discovering dependencies. Could you please try the following steps?

    1. Verify the report definition file(definition.pbir): check there is no syntax error or unexpected character 

    2. Make sure that the locally stored report and the version in the workspace are consistent. Any discrepancies might cause sync issues.

    3. Update the version of Power BI Desktop to the latest one and republish it to Service

    Best Regards

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi SalvaC ,

    It seems like you're encountering an issue with Git integration in Power BI Developer mode. Based on the error message provided, it appears that there might be a problem with the report definition file ('definition.pbir'), which is preventing the service from discovering dependencies. Could you please try the following steps?

    1. Verify the report definition file(definition.pbir): check there is no syntax error or unexpected character 

    2. Make sure that the locally stored report and the version in the workspace are consistent. Any discrepancies might cause sync issues.

    3. Update the version of Power BI Desktop to the latest one and republish it to Service

    Best Regards

    • SalvaC's avatar
      SalvaC
      Advocate III

      Thank you for your answer.

       

      I had to remove everything and sync again.

      Something was wrong during the first time.

       

      Now everything ist OK.

       

      Anyway, are there any news on the topic in the previous Discussion linked above?