steilerDev / icloud-photos-sync

One-way sync engine for the iCloud Photos Library into the native file system
https://icps.steiler.dev/
GNU General Public License v3.0
340 stars 9 forks source link

Handle 'incorrect MFA code' scenario #353

Closed steilerDev closed 11 months ago

steilerDev commented 11 months ago
New error: [icloud-photos-sync]
4 occurrences since (Mon Sep 25 2023 09:50:37 GMT+0000 (Coordinated Universal Time))

Currently an undescriptive error is thrown, if 400 is returned, however this usually an incorrect MFA code (with a description available in the response service_errors[0].message)

    <td><strong>Attributes</strong></td>
<td>
             <strong>icps.uuid</strong> &mdash; 4        <ul>
                    <li>
                            <code>ce2037cc-dc45-4ff9-bd1d-db9d1194392e</code> 
                            &mdash; 1 (25.00%)
        </li>
                    <li>
                            <code>c1256b1f-36bc-4aaa-90cd-5cd436410c1c</code> 
                            &mdash; 1 (25.00%)
        </li>
                    <li>
                            <code>60d7e786-5dc1-4e17-b7e5-436d87201293</code> 
                            &mdash; 1 (25.00%)
        </li>
                    <li>
                            <code>1409135d-c201-49d4-a320-e285d09461b7</code> 
                            &mdash; 1 (25.00%)
        </li>
                 </ul>
            <strong>application.version</strong> &mdash; 4        <ul>
                    <li>
                            <code>1.2.0-nightly.21</code> 
                            &mdash; 3 (75.00%)
        </li>
                    <li>
                            <code>1.2.0</code> 
                            &mdash; 1 (25.00%)
        </li>
                 </ul>
         </td>
     <tr>
    <td><strong>Classifiers</strong></td>
    <td>
                    <strong>MFAError</strong><br />
                </td>
</tr>
     <tr>
    <td><strong>Frames</strong></td>
    <td>
        <code> MFAError: Unable to submit MFA code iCloud.submitMFA process.processTicksAndRejections </code>
    </td>
</tr>
 </table>
github-actions[bot] commented 11 months ago

This issue should be resolved with version v1.3.0-beta.2, please confirm.

github-actions[bot] commented 11 months ago

This issue was resolved with version v1.3.0.

Application icloud-photos-sync