microsoft / powerplatform-build-tools

Power Platform Build Tools automate common build and deployment tasks related to Power Platform. This includes synchronization of solution metadata (a.k.a. solutions) between development environments and source control, generating build artifacts, deploying to downstream environments, provisioning/de-provisioning of environments, and the ability to perform static analysis checks against your solution using the PowerApps checker service.
MIT License
186 stars 38 forks source link

DevOps Task - Import Data always fails first time, successful next attempt #842

Open crsnt opened 5 months ago

crsnt commented 5 months ago

For the past week or so, the import data in DevOps task always gives error. There is no option to turn on Verbose true so we have no clue why this is happening.

The next attempt is always successful without changing anything, so at the moment we put a retry once if the task fails. Any info would be appreciated.

2024-05-01T06:05:13.7571709Z [ 'Connected as *' ] 2024-05-01T06:05:15.4239352Z [ 'Importing data ...' ] 2024-05-01T06:05:16.5695012Z [ ' Parsing import data file' ] 2024-05-01T06:05:17.0214060Z [ ' Parse Complete' ] 2024-05-01T06:05:17.0228232Z [ 2024-05-01T06:05:17.0228891Z ' Beginning Import To CRM.. Importing 56 entities - 5525 records' 2024-05-01T06:05:17.0229129Z ] 2024-05-01T06:05:17.0286761Z [ ' Running Schema Validation' ] 2024-05-01T06:10:01.6737155Z [ 'Microsoft PowerPlatform CLI' ] 2024-05-01T06:10:01.6738561Z [ 'Version: 1.31.6+g9147a23' ] 2024-05-01T06:10:01.6738962Z [ 'Online documentation: https://aka.ms/PowerPlatformCLI' ] 2024-05-01T06:10:01.6739218Z [ 2024-05-01T06:10:01.6739851Z 'Feedback, Suggestions, Issues: https://github.com/microsoft/powerplatform-build-tools/discussions' 2024-05-01T06:10:01.6742432Z ] 2024-05-01T06:10:01.6742772Z [ '' ] 2024-05-01T06:10:01.6743223Z [ 'Error: Value cannot be null.' ] 2024-05-01T06:10:01.6743564Z [ 'Parameter name: source' ]** 2024-05-01T06:10:01.6743845Z [ '' ] 2024-05-01T06:10:01.6744084Z [ '' ]

crsnt commented 4 months ago

Recently, this error comes up more than once. when it failed, rerunning the action fixes the error.

Really weird and would like to know what is happening.