Documents Not Downloading From Endpoint Download Link in REST API Response
(Doc ID 2767532.1)
Last updated on APRIL 08, 2021
Applies to:
Oracle Transportation Management Cloud Service - Version 21.1 and laterInformation in this document applies to any platform.
Symptoms
The REST API let you consume Documents information. The response provides a download link for the document you are asking about and it looks like this
{
"hasMore": false,
"limit": 25,
"count": 1,
"offset": 0,
"items": [
{
"isAwaitingVirusCheck": false,
"domainName": "<DOMAIN>",
"content": {
"download": "https://<instance>/logisticsRestApi/resources-int/v2/custom-actions/download/documents/<DOMAIN.DOC_ID>/contents/<DOMAIN.DOC_ID>"
},
You are not able to use the download link to get the actual file, the file you get from the download link is an empty file.
If you log in to OTM and try to open the file, you can do it successfully.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |