• Piotr Antosz
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

Have some code in VS Code, received from a scratch org with enabled Community(Digital Experiences). Want this to push to a new scratch org. "Push Source to Default Scratch Org" always fails with exit code 1
SfdxError: 
<html> <body>
<table cellspacing=10><tr><td><span style="font-weight: bold; font-size: 12pt;">Illegal Request</span></td></tr>
    <tr<td>You have sent us an Illegal URL or an improperly formatted request.</td></tr>
    <tr><td></td></tr></table>
<!-- Body events -->
<script type="text/javascript">function bodyOnLoad(){if(window.PreferenceBits){window.PreferenceBits.prototype.csrfToken="null";};}function bodyOnBeforeUnload(){}function bodyOnFocus(){}function bodyOnUnload(){}</script></body></html>

Tried a lot, but still have no clue: minimal project-scratch-dev.json, CLI latest version (7.92) and also an older; Has someone an idea where to look for error reason? Any help would be greatly appreciated.

  • March 24, 2021
  • Like
  • 0
I created a simple analytics dashboard with two different lenses of the different dataset, I connect those datasets using https://help.salesforce.com/articleView?id=bi_dashboard_data_source_connections.htm&type=0 ,
it's working Properly.

If we create a managed package with all assets like analytics app, dataflow, dataset and dashboards it creates successfully, but if we deploy it on other org for testing purposes. it showing error while deploying.
Error : 
1) (Dashboard_Name) No Dataset found for Developer Name: Dataset_Name
Dashboard_Name: No Dataset found for Developer Name: Dataset_Name
2)(Dashboard_Name) Wave Asset doesn't existing in the Org.
Dashboard_Name: Wave Asset doesn't existing in the Org.

But if we remove the given connection between dataset from all dashboard, and package it again it's getting install successfully.

but that dataset connection is necessary for my dashboards.