Comments (4)
Could you check the AWS bucket and see if the file exists? On AWS, you must generate separate GET and PUT signed urls. Meaning PUT urls do not have GET access when used.
from photoshop-api-docs.
hi @johnleetran I checked AWS bucket but the file not existed. I use test my presign url to put image from client, it work fine.
from photoshop-api-docs.
are you still having issues or was this intermittent? for reference, below is nodejs code to generate presigned url from aws that i know works
Presigned Get URL
var AWS = require('aws-sdk')
var bucket = '<MY_BUCKET_NAME>'
var object_key = '<PATH/TO/SOME/IMAGE.psd>'
var operation = 'getObject'
var region = '<AWS_REGION>'
AWS.config.update({"region": region});
let params = {Bucket: bucket, Key: object_key, Expires: 3600 * 24};
let s3 = new AWS.S3({apiVersion: '2006-03-01', signatureVersion: 'v4'});
s3.getSignedUrl(operation, params, function (err, url) {
if(err){
console.log(err)
}else{
console.log(url)
}
});
Presigned PUT url
var AWS = require('aws-sdk')
var bucket = '<MY_BUCKET_NAME>'
var object_key = '<PATH/WHERE/YOU/WANT/OUTPUT.psd>'
var operation = 'putObject'
var region = '<AWS_REGION>'
AWS.config.update({"region": region});
let params = {Bucket: bucket, Key: object_key, Expires: 3600 * 24};
let s3 = new AWS.S3({apiVersion: '2006-03-01', signatureVersion: 'v4'});
s3.getSignedUrl(operation, params, function (err, url) {
if(err){
console.log(err)
}else{
console.log(url)
}
});
from photoshop-api-docs.
Hi @johnleetran
I'm trying to use dropbox temporary_upload_link. But when i check the job it return "Unable to upload the outputs".
Detail:
job link: https://image.adobe.io/pie/psdService/status/764e3b79-592b-4683-8d7f-d94013e99d00
response:
"jobId": "764e3b79-592b-4683-8d7f-d94013e99d00",
"outputs": [
{
"input": "https://assets.boostflow.com/phub/-------------.psd",
"status": "failed",
"created": "2021-08-24T16:03:38.322Z",
"modified": "2021-08-24T16:03:43.431Z",
"errors": {
"code": 400,
"details": [
{
"name": "https://content.dropboxapi.com/apitul/1/-----------",
"reason": "Unable to upload the outputs"
}
],
"title": "Bad Request",
"type": "InputValidationError"
}
}
],
"_links": {
"self": {
"href": "https://image.adobe.io/pie/psdService/status/764e3b79-592b-4683-8d7f-d94013e99d00"
}
}
}
url from dropbox to upload output:
I upload to my dropbox link its work
can you help me check what is wrong for my request? thank you
from photoshop-api-docs.
Related Issues (14)
- /renditionCreate refers to size in API docs but width in example HOT 2
- New Integration issue HOT 7
- Action required: Greenkeeper could not be activated 🚨
- Getting URL of rendition to download? HOT 4
- api_docs doesn't load HOT 4
- Displacement map support HOT 1
- How to use content-aware fill within the API? HOT 1
- /documentManifest API throwing an error for PSD files larger than 100 MB. HOT 5
- Supporting Arabic & Persian (Middle Eastern) Languages
- Font size unit issue
- How to hide a layer? HOT 3
- OpenAPI swagger.json file
- Scopes issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photoshop-api-docs.