-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Information.mark_as_read() raises PronoteAPIError #180
Comments
Hi, I'm not sure what could be the problem. Maybe it had a question in it that had to be filled? I could try and change |
No idea what the problem is. No question to answer, just plain text messages. Some have attachments, but the same error occurs whether there are attachments or not. Tell me if you need more information to better understand what's happening. In the meantime, I'm keeping a local list of digests of messages with a local read-status. Not ideal, but an acceptable workaround for my use case. |
Can you please try to catch the request that the browser makes when you click the "mark as read" button? The body of the request should have a The structure of the body of the request is the important bit. You can censor it all :) |
Huh, not sure why your firefox does not parse the json inside |
donneesSec is a long (672 chars) string of alphanumeric data (like 'c3fbdf9c971c61dac...'). Probably a hex encoding of some sort... That probably explains why firefox doesn't parse it, but isn't very helpful otherwise, I'm afraid... |
Aha! That must be encrypted+compressed data then. Interesting... That is actually very helpful, because it means that pronotepy's encryption+compression works. Do all the requests look like that (are all |
Yes AFAICT they seem to all look like that. |
With this simplified code:
I get
(there's also quite a bit of debug data, tell me if you need to know more).
Any idea what's happening?
The text was updated successfully, but these errors were encountered: