Skip to content
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

iCloud credential give Error 401 even if correct #547

Open
2 of 7 tasks
salvlox opened this issue Feb 25, 2024 · 3 comments
Open
2 of 7 tasks

iCloud credential give Error 401 even if correct #547

salvlox opened this issue Feb 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@salvlox
Copy link

salvlox commented Feb 25, 2024

Please check that this issue hasn't been reported before.

  • I searched previous Bug Reports and didn't find any similar reports.

Expected Behavior

401 Error even with certain correct credential in trying to connect the plugin to the iCloud service

Current behaviour

The pop up works but the credential are never right, even when their authenticity has been throughly checked

JavaScript console output


plugin:obsidian-full-calendar:63173
Error importing calendars from https://caldav.icloud.com Error: Request failed, status 401 at new t (app.js:1:1782334) at Bq (app.js:1:1782526) at app.js:1:1783203 at app.js:1:237544 at Object.next (app.js:1:237649) at a (app.js:1:236367)
  | eval | @ | plugin:obsidian-full-calendar:63173 -- | -- | -- | --   | rejected | @ | plugin:obsidian-full-calendar:72   | Promise.then (async) |   |     | step | @ | plugin:obsidian-full-calendar:77   | eval | @ | plugin:obsidian-full-calendar:78   | __async | @ | plugin:obsidian-full-calendar:62   | importCalendars | @ | plugin:obsidian-full-calendar:63134   | eval | @ | plugin:obsidian-full-calendar:63248   | eval | @ | plugin:obsidian-full-calendar:78   | __async | @ | plugin:obsidian-full-calendar:62   | submit | @ | plugin:obsidian-full-calendar:63245   | eval | @ | plugin:obsidian-full-calendar:63005   | eval | @ | plugin:obsidian-full-calendar:78   | __async | @ | plugin:obsidian-full-calendar:62   | handleSubmit | @ | plugin:obsidian-full-calendar:63000   | callCallback2 | @ | plugin:obsidian-full-calendar:11447   | invokeGuardedCallbackDev | @ | plugin:obsidian-full-calendar:11472   | invokeGuardedCallback | @ | plugin:obsidian-full-calendar:11506   | invokeGuardedCallbackAndCatchFirstError | @ | plugin:obsidian-full-calendar:11509   | executeDispatch | @ | plugin:obsidian-full-calendar:14132   | processDispatchQueueItemsInOrder | @ | plugin:obsidian-full-calendar:14152   | processDispatchQueue | @ | plugin:obsidian-full-calendar:14161   | dispatchEventsForPlugins | @ | plugin:obsidian-full-calendar:14169   | eval | @ | plugin:obsidian-full-calendar:14293   | batchedEventUpdates$1 | @ | plugin:obsidian-full-calendar:23817   | batchedEventUpdates | @ | plugin:obsidian-full-calendar:11327   | dispatchEventForPluginEventSystem | @ | plugin:obsidian-full-calendar:14292   | attemptToDispatchEvent | @ | plugin:obsidian-full-calendar:12841   | dispatchEvent | @ | plugin:obsidian-full-calendar:12796   | unstable_runWithPriority | @ | plugin:obsidian-full-calendar:8122   | runWithPriority$1 | @ | plugin:obsidian-full-calendar:16244   | discreteUpdates$1 | @ | plugin:obsidian-full-calendar:23831   | discreteUpdates | @ | plugin:obsidian-full-calendar:11337   | dispatchDiscreteEvent | @ | plugin:obsidian-full-calendar:12777

Steps to reproduce

  1. try and connect the full calendar to icloud
  2. insert proper credential
  3. receive 401 error through pop up in right up corner

Calendar information

standard iCloud service calendar

Which Operating Systems are you using?

  • macOS
  • Windows
  • Linux
  • Android
  • iOS

Obsidian Version

1.5.8

Full Calendar Plugin Version

0.10.7

Checks

  • I have tried it with all other plugins disabled and the error still occurs.

Possible solution

No response

Comments

No response

@salvlox salvlox added the bug Something isn't working label Feb 25, 2024
@yaoyhu
Copy link

yaoyhu commented Apr 27, 2024

You can't just sign in your iCloud account within your Apple password (it's not like api-key, Apple has to make sure that your Apple ID password can't be stored or collected by other platform).

The soulution is to create an app-specific password, you can find instructions here: https://support.apple.com/en-us/102654.

After creating the passwords, use your AppleID and the given app-specific password provided by apple to login again.

image

@giittyy
Copy link

giittyy commented Aug 18, 2024

That doesn't work.

You can't just sign in your iCloud account within your Apple password (it's not like api-key, Apple has to make sure that your Apple ID password can't be stored or collected by other platform).

The soulution is to create an app-specific password, you can find instructions here: https://support.apple.com/en-us/102654.

After creating the passwords, use your AppleID and the given app-specific password provided by apple to login again.

image

That doesn't work. Same 401 error

@Youmatt
Copy link

Youmatt commented Sep 6, 2024

Its work. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants