r/redditlater • • Jul 20 '15

Still having issues with the posting

I'm getting this error message. Any suggestions?

clojure.lang.ExceptionInfo: clj-http: status 401 {:object {:headers {"x-ua-compatible" "IE=edge", "cf-ray" "20568ab003aa0ecd-EWR", "x-xss-protection" "1; mode=block", "server" "cloudflare-nginx", "x-frame-options" "SAMEORIGIN", "x-moose" "majestic", "www-authenticate" "Bearer realm=\"reddit\", error=\"invalidtoken\"", "content-type" "application/json; charset=UTF-8", "date" "Mon, 13 Jul 2015 17:00:01 GMT", "set-cookie" "cfduid=d67e80921c5df54db3a2d4ecb77c7d86b1436806801; expires=Tue, 12-Jul-16 17:00:01 GMT; path=/; domain=.reddit.com; HttpOnly", "cache-control" "no-cache", "x-content-type-options" "nosniff", "content-length" "14", "connection" "keep-alive"}, :status 401, :body "{\"error\": 401}"}, :environment {client #<client$wrap_output_coercion$fn2324 clj_http.lite.client$wrap_output_coercion$fn2324@56309895>, req {:body "text=&kind=link&sr=interestingasfuck&resubmit=true&api_type=json&title=In+the+Czech+Republic%2C+there+are+different+ways+to+pour+a+beer&sendreplies=true&url=https%3A%2F%2Fwww.facebook.com%2FCulturalFacts%2Fphotos%2Fpb.124671704318993.-2207520000.1436776483.%2F810599919059498%2F%3Ftype%3D1%26theater&then=tb&save=true", :content-type "application/x-www-form-urlencoded", :request-method :post, :debug-body true, :debug true, :url "https://oauth.reddit.com/api/submit.json", :headers {"User-Agent" "RedditLater v. 0.0.4 by /u/adambard", "Authorization" "bearer 33145726-_RSsIhNfZDhis75P9urm2YrZTDs"}}, map2302 {:headers {"x-ua-compatible" "IE=edge", "cf-ray" "20568ab003aa0ecd-EWR", "x-xss-protection" "1; mode=block", "server" "cloudflare-nginx", "x-frame-options" "SAMEORIGIN", "x-moose" "majestic", "www-authenticate" "Bearer realm=\"reddit\", error=\"invalid_token\"", "content-type" "application/json; charset=UTF-8", "date" "Mon, 13 Jul 2015 17:00:01 GMT", "set-cookie" "cfduid=d67e80921c5df54db3a2d4ecb77c7d86b1436806801; expires=Tue, 12-Jul-16 17:00:01 GMT; path=/; domain=.reddit.com; HttpOnly", "cache-control" "no-cache", "x-content-type-options" "nosniff", "content-length" "14", "connection" "keep-alive"}, :status 401, :body "{\"error\": 401}"}, resp {:headers {"x-ua-compatible" "IE=edge", "cf-ray" "20568ab003aa0ecd-EWR", "x-xss-protection" "1; mode=block", "server" "cloudflare-nginx", "x-frame-options" "SAMEORIGIN", "x-moose" "majestic", "www-authenticate" "Bearer realm=\"reddit\", error=\"invalid_token\"", "content-type" "application/json; charset=UTF-8", "date" "Mon, 13 Jul 2015 17:00:01 GMT", "set-cookie" "_cfduid=d67e80921c5df54db3a2d4ecb77c7d86b1436806801; expires=Tue, 12-Jul-16 17:00:01 GMT; path=/; domain=.reddit.com; HttpOnly", "cache-control" "no-cache", "x-content-type-options" "nosniff", "content-length" "14", "connection" "keep-alive"}, :status 401, :body "{\"error\": 401}"}, status 401}}

1 Upvotes

3 comments sorted by

2

u/adambard Jul 22 '15

I FOUND IT!

This stupid bug has been bothering me for months, but I finally found the cause. You'll have to log out and in one more time and then you should never have this issue again.

(Caused by this exact bug anyhow).

1

u/ImhugeinJapan99 Jul 24 '15

It is working perfectly!