evernote - 404 when downloading Evenote resources directly via web/http? -


up until few days ago, app developing downloading evernote resources directly on http fine, per instructions here: https://dev.evernote.com/doc/articles/resources.php#downloading

it stopped working correctly , after investigating used postman fire of test request. request:

post /shard/s37/res/990ee009-fa0d-42cf-9d85-b13816af8c47 http/1.1 host: www.evernote.com auth: s%3ds84%3au%3d8e847d%3ae%3d159c134s4e4%3ac%3d15269830808%3ap%3d185%3aa%3dcstiaan84%3av%3d2%3ah%3d16320957f0124a6bc1c53f526a04cdff cache-control: no-cache postman-token: a145643c-a626-e3e7-44f7-6ad5387f1df6 content-type: application/x-www-form-urlencoded 

i know url , urlencoded auth token correct because other requests api work correctly.

has else came across lately? ideas? thanks!

the problem ended being url resource incorrect. corstiaan generating url based on:

user_store.getpublicuserinfo('someusername').webapiurlprefix

and url different users different (each shard in evernote service has number of users, different users can on different shards). username being passed in getpublicuserinfo incorrect, , webapiurlprefix pointing incorrect shard, resource doesn't exist, causing 404.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -