Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

malkow
Community profile malkow Level 1
Job title here
Malta
4 BADGES
Level 1

Level 1

Learn more
Joined the community 03-01-2021 6:33:11 AM
Offline
Top badges earned by malkow
Customize the badges you want to showcase on your profile
Re: Photoshop API: Presets method returns 400 Bad Request...
Avatar
Give Back 3
Level 1
malkow
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
malkow
- Adobe I/O Console
I managed to make a successful request now. I had to use dropbox for inputs and outputs hrefs. Seems like there is an issue with the Creative Cloud Files authorization.

Views

396

Likes

0

Replies

0
Re: Photoshop API: Presets method returns 400 Bad Request...
Avatar
Give Back 3
Level 1
malkow
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
malkow
- Adobe I/O Console
Okay so the OAuth is now configured and with the token I get from OAuth (scope is "AdobeID,openid") I receive:{"error_code":"403016","message":"Oauth token type not valid"} According to the Developer Console the service I need to use "Lightroom - Creative Cloud Automation Services" requires a JWT access token, not an OAuth. But as I said, using the generated token from the console results in:{"title":"Unauthorized","code":401,"type":"InvalidAuthTokenError","details":{"reason":"Unable to access t...

Views

408

Likes

0

Replies

0
Re: Photoshop API: Presets method returns 400 Bad Request...
Avatar
Give Back 3
Level 1
malkow
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
malkow
- Adobe I/O Console
Thanks, now I receive a result body: {"title":"Unauthorized","code":401,"type":"InvalidAuthTokenError","details":{"reason":"Unable to access the input href","name":"/files/input.jpg"}}

Views

427

Likes

0

Replies

0
Photoshop API: Presets method returns 400 Bad Request with empty body
Avatar
Give Back 3
Level 1
malkow
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
malkow
- Adobe I/O Console
I'm trying to get a successful /lrService/presets call. I got myself a token and assembled a request according to https://github.com/AdobeDocs/lightroom-api-docs#presets but I always get a 400 Bad Request response with a completely empty body. Any ideas?That's my request:{ "curlopts": { "HTTPHEADER": [ "authorization: Bearer eyJ4NXUiOiJpbXNfbmExLWtleS0xLmNlciIsImFsZyI6IlJ...GElSq1Pg", "Content-Type: application/json", "x-api-key: 448...2c0f" ] }, "json": { "inputs": { "source": { "href": "/files...

Views

442

Likes

0

Replies

7