Azure Pipeline - Unexpected API error

Kakehi Shunya (筧 隼弥) 201 Reputation points

The Synapse pipeline needs to import data from Anaplan views.
I need to create a read request first, following Anaplan's reference, but I get an error when I perform POST.
Does anyone know a solution?
The body is as follows:
curl --location --request POST '{workspaceID}/models/{modelID}/views/{viewID}/readRequests/' \ \--data-raw '{ "exportType" : "TABULAR_MULTI_COLUMN" }'

Any help would be appreciated.
Thank you.


Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,443 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,690 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MartinJaffer-MSFT 26,036 Reputation points

    Hello @Kakehi Shunya (筧 隼弥) ,
    Thanks for the question and using MS Q&A platform.

    As I understand, you would like help debugging your web activity request to an API called "Annaplan".

    I see you put more in the body than you should have.
    Curl is a command-line tool for making these calls. Curl is like a text only version of Web activity. You do not need to put everything of "Request supporting this feature" into the body.
    The body only needs the

    `{ "exportType" : "TABULAR_MULTI_COLUMN"}`  

    see like below picture:


    Please do let me if you have any queries.


    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
      • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    0 comments No comments