microsoft / Microsoft-Fabric-workload-development-sample

Demonstrates how to implement a Microsoft Fabric workload in .net and typescript
Other
30 stars 16 forks source link

Fabric: Unable to create sample workload item #19

Closed Lashin23 closed 4 months ago

Lashin23 commented 5 months ago

I'm trying to run sample workload solution and creating new sample workload item, but getting below error - image

Error showing up as "ArtifactInputFailure:

image

image

image

image

Steps followed from https://learn.microsoft.com/en-us/fabric/workload-development-kit/extensibility-back-end

dhrumil83 commented 5 months ago

I commented out this validation for the sample to work: https://github.com/microsoft/Microsoft-Fabric-workload-development-sample/blob/main/Backend/src/Services/AuthenticationService.cs#L166

Also make sure you are not in the default workspace.

anitamayorov commented 5 months ago

Hi @Lashin23,

Were you able to register successfully your developer workload using the DevGateway? Are you trying to create an item on a workspace registered on the same capacity defined in workload-dev-mode.json file?

Lashin23 commented 4 months ago

Couldn't perform this step - Run the Microsoft.Fabric.Workload.DevGateway.exe application located in Backend\DevGateway as I'm unable to find DevGateway under Backend directoty from cloned solution

image
dhrumil83 commented 4 months ago

Copy the zip file to that location: https://github.com/microsoft/Microsoft-Fabric-workload-development-sample/issues/12

anitamayorov commented 4 months ago

Hi @Lashin23,

You can download the DevGateway from Microsoft's Download Center https://www.microsoft.com/en-us/download/details.aspx?id=105993

We will update our documentation for this step.

Lashin23 commented 4 months ago

After successful run of DevGateway getting below error: image

image

anitamayorov commented 4 months ago

Hi @Lashin23,

To verify -

  1. Were you able to register your workload successfully using DevGateway?
  2. Do you have a running Workload (If you use the Sample project in Visual Studio - is it running? It should act as your local BE for the different CRUD calls sent by Fabric)
  3. Are you trying to create an item on a workspace attached to the same capacity specified in your workload-dev-mode.json file?

Also, please provide requestIds for the failed network calls ('/artifacts').

SanketK9831 commented 4 months ago

Hi @anitamayorov,

This link to download gateway is breaking. https://www.microsoft.com/en-us/download/details.aspx?id=105993

selimslab commented 4 months ago

Had the same problem, solved by fixing the Fabric capacity from workspace settings and restarting the devgateway