Skip to main content
Participant
July 17, 2023
Question

Login to Adobe Stock via python script fails

  • July 17, 2023
  • 3 replies
  • 310 views

I try a python script to automate some things It starts like this

 

 

[REMOVED BY MODERATOR]

 

 

 

 

Not to reveal the password, I replaced it with *. I use the same login to login with the browser and it works. However the login fails in the python script. The HTTP Code is 403. How can I fix this?

 

[[Moderator moved the thread to the correct forum]]

 

This topic has been closed for replies.

3 replies

Christopher at Adobe
Community Manager
Community Manager
July 17, 2023

Hi.

 

The code was removed because you posted your email address, which is not allowed. Your code appears to be trying to interact with the Stock Contributor site, but that is not supported for automation and APIs. Adobe does not support direct login via any website--all logins are authenticated by a central host that keeps authentication and identity separate from website logic.

 

What are you trying to accomplish? 

 

Thanks,

Christopher

taothemanAuthor
Participant
July 17, 2023

I tried to get all the information of my uploaded pictures like name, dimensions, tags, etc. 
I need it to be able to find out which files were not uploaded and which were rejected.

Abambo
Community Expert
Community Expert
July 17, 2023

If you read @RALPH_L and @Christopher at Adobe correctly, you need to log in manually and then get the script running.

ABAMBO | Hard- and Software Engineer | Photographer
RALPH_L
Community Expert
Community Expert
July 17, 2023

You have to authenticate first. I have automated certain tasks with c#. The trick is first do an authenticated sign-in.

Abambo
Community Expert
Community Expert
July 17, 2023

403 is the code for “forbidden”. So, your script did something different from a manual login.

ABAMBO | Hard- and Software Engineer | Photographer