Jump to content

API Auth Question


Recommended Posts

When making a call to authorize we are getting an unexpected error. I am using the following CURL command with sample data because I do not have the sdk installed. What is this error? I have highlighted the confusing response. This is HTML for the page that is displayed that says 'Oops we encountered unexpected error' I get the same thing when i just enter the url into a browser

Kellys-MacBook-Pro:~ kellygold$ curl -X GET 'https://sandbox.evernote.com/oauth?oauth_callback=http://cloud-elements.com&oauth_consumer_key={myapike}&oauth_nonce=3166905818410889691&oauth_signature=xCYjTiyz7GZiElg1uQaHGQ6I&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1496264535&oauth_version=1.0'

<html>

<head>

<meta charset="utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=9,chrome=1" />

<meta name="viewport" content="width=device-width,initial-scale=1" />

<link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" />

<link rel="stylesheet" href="/redesign/global/css/reset.css" />

 

<link rel="stylesheet" href="/redesign/global/css/fonts.css" media="all" />

 

<link rel="stylesheet" href="/redesign/global/css/header.css" />

<link rel="stylesheet" href="/redesign/global/css/layout.css" />

 

<title>Evernote Error</title>

</head>

<body>

  <div class="header">

    <div class="header-inner">

      <a href="https://sandbox.evernote.com/Home.action?/" class="evernote-logo">Evernote</a></div>

  </div>

  <div id="container-boundingbox" class="wrapper">

    <div id="container" class="wrapper">

      <div class="main">

        <div class="page-header">

          <h1>

            Oops, we encountered an error.</h1>

        </div>

        <div>

          <p>

            Sorry, we've encountered an unexpected error.</p>

        </div>

        <div class="clear"></div>

      </div>

    </div>

    <div class="footer wrapper">

      <a href="https://sandbox.evernote.com/Home.action?/tos/" class="footer-entry">Terms of Service</a><a href="https://sandbox.evernote.com/Home.action?/privacy/" class="footer-entry">Privacy Policy</a><span class="footer-entry last">Copyright 2017 Evernote Corporation. All rights reserved.</span>

    </div>

  </div>

</body>

</html>

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...