-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
TypeError: Converting circular structure to JSON #327
Comments
Try turning error reporting off for this - need to make sure to handle masking confidential data differently it seems. |
After doing some analysing, I noticed that I have three zones;
|
Very interesting...do you have any special setup in iCloud that could explain the third zone? |
I have a family account with my wife, nothing special. But I do have some shared albums with other icloud accounts (like my sister, and other friends). That's the only thing I can think of. |
Is there a way to check what's inside in that third zone? |
You could try the postman collection within the repo - there are basically all functions in there, you'd need to swap the zone name and owner to retrieve the data from the zone |
I can only run the One with
One special thing I can think of is that my iCloud space is full. That's why the rush on using the tool to backup the images so I can open up some space. |
I see - so it feels like Dave to ignore? You should be able to alter the photos response Schema (bin Currently don't have access to a laptop, so it will be only next week when I can implement the changes. |
I did download the repo and modified the code to confirm, indeed it works when I increase the limit. The problem is that that video is still a valid video that I want to backup. I downloaded it and backed it up and deleted from iCloud manually for now. Let's see if the zone is deleted afterwards. It might be good to log additional zones are created at least to be able to track if there are any valuable assets that needs to be backed up. |
The question would be if the video is included in any of the other zones - and just a duplicate indicating full storage - but yeah, a warning might be a good idea. |
So, it seems that I've shared this video with a friend via iMessage but instead of directly sending it, I've shared it as a link as it seems. On the iCloud Photos Web Interface I see |
If that can help, I had a similar error, having two The second one is marked as
Calling any API with this zoneName returns Postman collection can be adapted with I did look into code, but sorry I'm a bit puzzled by the validation logic to be confident at submitting a PR. For now just naively increased the |
@vguerci are you sure about the structure? I'd expect
If not could you please provide the full response object to P.S.: Validation is based on the schema that is generated from |
Nevermind - I missed something here, your example makes sense. |
This issue should be resolved with version v1.2.0-beta.5, please confirm. |
Works for me, will report if I find any other issues, thanks :) And yes I confirm my example, that was just a copy-paste excerpt of response. |
Checklist before opening an issue
Describe the bug
App crashes right after the sign in.
Error code
No error code is generated.
Logs
Operating environment
The text was updated successfully, but these errors were encountered: