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?
{"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"
}
]
}
