Can't use filestack-python

I can’t use filestack in python because it says this:

Screenshot 2022-12-27 at 3.57.36 AM

Hey @smacode I was playing around with it
and when i did

import filestack

it worked just fine
And welcome to the forums i hope you enjoy your time here

2 Likes

@PrestonCurtis1 Thanks, except now I’m getting this error…
Screenshot 2022-12-27 at 4.09.16 AM

1 Like

I took the snippet straight from here:

1 Like

Can you post a link to your repl so others can fork it and experiment with it to help find a solution

1 Like

sure…I was concerned about posting my S3 credentials but at this point I don’t even care ill delete and recreate the keys.
https://replit.com/@smacode/S3-file-upload#main.py

hmm seems like syntax errors.

Uhh I found the error. you forgot to add a space before response.
I invited you to the repl https://replit.com/@sonicx180/S3-file-upload#main.py

still has errors but you can fix them.

So eventually I realized part of the reason might be spaces instead of tabs, so i used this (not sure how reliable it is) to test the syntax…even when i got everything perfect, i still couldnt get the code to trun

sweet thanks, I’ll check it out. Were you able to run it successfully?

noo, could you check it out so we can collab on it? thx!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.