Fetching anaplan export defenition failing with HTTP 500 Error
Hi Experts ,
I'm new to Anaplan and working with anaplan REST API's .
I'm trying to fetch the export defenition from anaplan using postman . I have 4 export ID's for which I need to fetch the metadata .
One of the export ID gives me the right metadata structure as output when i use a GET method and call the below
https://api.anaplan.com/2/0/workspaces/{workspaceId}/models/{modelId}/exports/{exportId} \ -H 'authorization: AnaplanAuthToken {anaplan_auth_token}' \ -H "Content-Type:application/json"
However , rest three , when I try the same it fails with Status code 500 , Internal server error .
I know it is a generic error code , but would like to understand the possible reasons for this . Im not able to check in anaplan directly since I donot have admin access .
Any pointors will be highly appreciated .
Thanks ,
Nitheesh
Answers
-
With postman, you'll need to run two actions. The first one is a "POST" Export Action (this creates the file). The second is the "GET" action to download the file.
The good news is that the Export ID and the fileID are the same.
POSTGETAnd don't forget your header parameter'Accept': 'application/octet-stream'0