Forum Discussion

LeeGrantGeek's avatar
LeeGrantGeek
Regular Visitor
2 years ago
Solved

403 error in Machine Failure Prediction Tutorial

Hi,

I am working through the Machine Failure Prediction Tutorial in Microsoft Learn under Synapse Data Science. I get most of the way through it until I get the following error:

Failed to fetch backend token.
Status code: 403
Error:{"error":{"code":"InvalidRequest","message":"Tenant not authorized for cluster"}}

 when trying to run the following code segment:

predictions = model.transform(spark.createDataFrame(X_test))
predictions.show()
 
Any ideas on what is going on? Frustrated as when trying to learn this stuff, the tutorial Microsoft provides should work.
Thanks,
Lee
  • LeeGrantGeek's avatar
    LeeGrantGeek
    2 years ago

    This issue was reproduced by microsoft support. Then the Monday after the Fabric Community Conference, it started working. We suspect that an update to Fabric fixed the issue.

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi LeeGrantGeek ,

    Thanks for using Fabric Community. I apologize for the issue you are facing.
    Based on the details provided, I followed the steps in this document -Tutorial: Create, evaluate, and score a machine fault detection model - Microsoft Fabric | Microsoft Learn

    When I tried to reproduce your scenario I couldn't face any issue.

     

    It looks like an intermittent issue, suggest you to clear browser cache and please retry all steps again. Incase if you still facing the issue please share the screenshot, I will try to help you.

    Hope this is helpful. Please let me know incase of further queries.

    • LeeGrantGeek's avatar
      LeeGrantGeek
      Regular Visitor

      Hi,

      I cleared the cache in the browser (Edge). Logged out and restarted the browser. Still getting the same error.

       Here is the error in the job:

       

       

       

       

      I have opened a ticket with Microsoft support on this.

       

      Thanks,

      Lee

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi LeeGrantGeek ,

        Sorry for the inconvenience you're facing right now appreciate if you can share the support ticket details with us. Please provide the ticket number as it would help us to track for more information.