Jump to content

Issue "struct.error: unpack requires a buffer of 4 bytes" -- API Token


Recommended Posts

Hello,

Today I have an issue. I cannot get my dev API to work.

It started with:

struct.error: unpack requires a buffer of 4 bytes
Traceback (most recent call last):
  File "/home/cri/dev/_python_modules/evernote_lib/evernote_lib_test.py", line 15, in <module>
    test1()
  File "/home/cri/dev/_python_modules/evernote_lib/evernote_lib_test.py", line 9, in test1
    titles = get_last_notes_titles(5)
  File "/media/ix2-4/Documents/Christophe/common_docs/dev/_python_modules/evernote_lib/evernote_lib.py", line 266, in get_last_notes_titles
    note_store = get_note_store(client)
  File "/media/ix2-4/Documents/Christophe/common_docs/dev/_python_modules/evernote_lib/evernote_lib.py", line 299, in get_note_store
    note_store = client.get_note_store()
  File "/home/cri/dev/draft/Evernote/evernote-sdk-python3-master/lib/evernote/api/client.py", line 106, in get_note_store
    note_store_uri = user_store.getNoteStoreUrl()
  File "/home/cri/dev/draft/Evernote/evernote-sdk-python3-master/lib/evernote/api/client.py", line 165, in delegate_method
    return functools.partial(
  File "/home/cri/dev/draft/Evernote/evernote-sdk-python3-master/lib/evernote/edam/userstore/UserStore.py", line 1156, in getNoteStoreUrl
    return self.recv_getNoteStoreUrl()
  File "/home/cri/dev/draft/Evernote/evernote-sdk-python3-master/lib/evernote/edam/userstore/UserStore.py", line 1167, in recv_getNoteStoreUrl
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
  File "/home/cri/dev/draft/Evernote/evernote-sdk-python3-master/lib/thrift/protocol/TBinaryProtocol.py", line 130, in readMessageBegin
    sz = self.readI32()
  File "/home/cri/dev/draft/Evernote/evernote-sdk-python3-master/lib/thrift/protocol/TBinaryProtocol.py", line 211, in readI32
    val, = unpack('!i', buff)
struct.error: unpack requires a buffer of 4 bytes

I wanted to check my Developer Token. but the page "https://www.evernote.com/api/DeveloperToken.action" is returning "HTTP ERROR 503"

Can somebody help? 

Is it an issue on my side or on Evernote's side?

It was working 2 hours ago.

Thanks.

@gazumped @williamsdb @support @dev

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...