esecules / splitwise-csv

Upload expenses to splitwise from a csv file.
MIT License
25 stars 13 forks source link

Invalid OAuth Request #5

Closed danlash closed 7 years ago

danlash commented 7 years ago

I created a Splitwise app, created the oauth json file, installed the pips and ran the command - however I am getting an Invalid Oauth Request. I added a print r, resp in get_client and it shows:

<Response [401]> [u'Invalid OAuth Request']

Any tips on how to fix it?

esecules commented 7 years ago

I think this means Splitwise has rejected your consumer key and/or consumer secret that you created. I just tried to replicate your problem by restarting my client authorization process but wasn't able to. Try adding this print statement

    def get_client(self):
        self.get_client_auth()
        print self.ckey, self.csecret 

Make sure its what you expect it to be.

where in get_client did you encounter the Oauth error, before or after a web browser was spawned for you to authorize your application?

are you running this on windows, mac or linux?

esecules commented 7 years ago

@danlash are you still experiencing this error?

esecules commented 7 years ago

Closing due to inactivity.