Hello,
I've been attempting to get the file ID from a model using the following curl code adapted from the Anaplan API docs in Apiary.
curl -v --include --header "Authorization: Basic encoded_username:password"
--header "Content-Type: application/json" "https://api.anaplan.com/1/3/workspaces/8a81b09c637a13f70163989092ab080f/models/BB491FD8A9342FF815249BCD6C58B7A/files"
Note: I am actually using the Base64 encoded form of my login credentials, only left the pseudo-code in there for obvious reasons.
When running this script I've only been able to get a 500 Internal Server Error and the HTML code for the webpage that I would imagine the error is intended to take the user to. I noticed the HTML code contains an additional piece of information that the error is caused by an "Illegal Argument".
I've adapted the script many many times now to try and parse out if there's something in this little bit of code that's triggering the error and the script is taken straight from the API doc so I'm at a loss for what this error is and how to get around it.
Has anyone else run into this at all and can provide some assistance/clarification?
Thank you!