Forum Discussion

DevinL's avatar
DevinL
Icon for Helper I rankHelper I
2 years ago
Solved

Trouble with Request Body in Copy Data data flow

I'm connecting to a REST API through a POST request and trying to pass some parameters (filters) in the body:     { "size": 100, "page": 1, "search": { "date_limits": [ { "...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi DevinL ,

    It seems that only when you can't use the above request code in Fabric, you also mentioned that the error is not displayed but the value of no request is displayed, but the request can be completed in Postman or Web activity, which may be caused by incompatibility with Fabric and not being recognized.

    So I think you can use a web activity instead of a copy data activity might produce the right results. The output of the web activity can then be used as input for further processing.

    Another point is to make sure that the API endpoints and parameters in Postman and Microsoft Fabric are exactly the same. You can also read this document: How to copy data using copy activity - Microsoft Fabric | Microsoft Learn

     

     

     

    Best Regards

    Yilong Zhou

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.