I want to import view data in the Azure Synapse Analytics pipeline, but I am getting errors in creating the request.
The error statement is this, is the Body wrong?
・Error message
{ "errorCode": "2108", "message": "{\n \"status\" : {\n \"code\" : 400,\n \"message\" : \"Missing or invalid body\"\n },\n \"path\" : \"/2/0/workspaces/{workspaceID}/models/{modelID}/views/{viewID}/readRequests/\",\n \"timestamp\" : \"2022-10-12T10:34:12.220164Z\"\n}", "failureType": "UserError", "target": "initiate_request", "details": [] }
・URL
https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/views/{viewID}/readRequests/
・body
curl --location --request POST 'https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/views/{viewID}/readRequests/' \
--data-raw '{
"exportType" : "TABULAR_MULTI_COLUMN"
}'
・Header
Authorization :
concat('AnaplanAuthToken ',activity('get_access_token').output.tokenInfo.tokenValue)
・Accept : application/json
*workspaceID, modelID, and viewID are hidden for security reasons. (The actual IDs are entered when an API call is made.)
Does anyone know how to solve this?
Any help would be appreciated.
Thank you.


