Skip to main content
Participant
February 22, 2024
Answered

The requested input file was not found. Cannot make edits using the API

Getting an error while using the API. I'm thinking the only way that this isn't working is because I am not referring to the file path accurately. I have a psd file called "Base" though, so I have no clue why it's not authorizing that. Any idea on how I can go about this?

 
Error:

 

{"The requested input file was not found":[{"name":"/cloud-content/Creative%2520Cloud%2520Files/ahmad.y.jamous%2540gmail.com/5C4A35265BF479EA0A495D90%2540AdobeID/Base.psd","reason":"Error response from Storage:401 Path:/cloud-content/Creative%2520Cloud%2520Files/ahmad.y.jamous%2540gmail.com/5C4A35265BF479EA0A495D90%2540AdobeID/Base.psd"}],"code":404,"title":"Requested resource was not found","type":"ResourceNotFound"}


curl -X POST \
  "https://image.adobe.io/pie/psdService/text" \
  -H "Authorization: Bearer [API Token]" \
  -H "x-api-key: [API Key]" \
  -H "Content-Type: application/json" \
  -d "@C:\Users\user\OneDrive\Gameday Generator\request.json"



request.json

 

 

 

{
  "inputs": [
    {
      "href": "/cloud-content/Creative%20Cloud%20Files/ahmad.y.jamous%40gmail.com/5C4A35265BF479EA0A495D90%40AdobeID/Base.psd",
      "storage": "adobe"
    }
  ],
  "options": {
    "layers": [
      {
        "name": "Away Position",
        "text": {
          "content": "Hello"
        }
      }
    ]
  },
  "outputs": [
    {
      "href": "/cloud-content/Creative%20Cloud%20Files/ahmad.y.jamous%40gmail.com/5C4A35265BF479EA0A495D90%40AdobeID/output/path",
      "storage": "adobe",
      "type": "vnd.adobe.photoshop"
    }
  ]
}

 

This topic is closed to new replies. Start a new post to keep the conversation going.
Raymond Camden
Raymond CamdenCorrect answer
Community Manager
February 28, 2024

Using Adobe as a storage option is _documented_, but not supported. The docs will be fixed soon. You will need to use one of the other supported cloud storage providers. 

1 reply

Raymond Camden
Community Manager
Raymond CamdenCommunity ManagerCorrect answer
Community Manager
February 28, 2024

Using Adobe as a storage option is _documented_, but not supported. The docs will be fixed soon. You will need to use one of the other supported cloud storage providers. 

Translate