Forum Discussion

akanane's avatar
akanane
Frequent Visitor
2 years ago

Fabric REST API Async operation status ambiguous

Hello Everyone,

 

I hope this message finds you well. I'm currently working with the Fabric API initiating asynchronous operations 'POST' (status code 202) and provides status updates via the operation URL in the header. I'm facing a challenge in determining the precise values for the operation status that indicate completion or failure.

I am expecting values ("Succeeded", "Failed", "Completed"), which are the values returned when submitting a Spark Job Definition. However, when loading a table, the values I get are integers.({"Status":3,"CreatedTimeUtc":"2023-12-18T10:26:41.0455386Z","LastUpdatedTimeUtc":"2023-12-18T10:26:41.0455386Z","PercentComplete":100,"Error":null})

 

Without a consistent format for these status values, it's challenging to develop robust handling for various operation outcomes.

 

Thank you in advance for your assistance.

Best regards,
Amnay

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hello akanane ,

    Thank you for using Fabric Community.

    We are reaching out to the internal team to get some help on this. We will update you once we hear back from them.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi akanane ,

      Apologies for the delay in reply from our side. 
      Appreciate if you could share the feedback on our feedback channel. Which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.

      Hope this helps. Please let me know if you have any further queries.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hello akanane ,

        We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. In case if you have any resolution please do share that same with the community as it can be helpful to others. Otherwise, will respond back with the more details and we will try to help .