Go Back > Email Service Provider-specific Forums > FastMail Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Stay in touch wirelessly

FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc.

Thread Tools
Old 26 Nov 2023, 03:24 PM   #1
matt wynne
Junior Member
Join Date: Mar 2004
Posts: 15
403 Forbidden error creating a VCard via CardDAV API


I have some scripts that were previously working, but have recently started receiving a 403 Forbidden error.

They authenticate using Basic auth, with a username of "<name>+Default@<domain>" and a password generated on the "App password" screen in the settings.

I swear these scripts have been working, and I swear I haven't changed anything. The initial login and fetch of address books still work fine, but when I try to create a VCard it fails with a 403 response.

Here's what I'm posting:



Can anyone see where I'm going wrong? Did something change at Fastmail around this stuff in the last few weeks?

Thanks in advance for any help!

Last edited by matt wynne : 26 Nov 2023 at 04:27 PM. Reason: clean up example
matt wynne is offline   Reply With Quote

Old 26 Nov 2023, 04:28 PM   #2
matt wynne
Junior Member
Join Date: Mar 2004
Posts: 15
I've been trying this out with curl.

In the response, I can see this:

<D:error xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:carddav">
  <D:responsedescription>Failed restriction checks</D:responsedescription>
Any idea what that means?
matt wynne is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

All times are GMT +9. The time now is 09:14 PM.


Copyright 1998-2022. All Rights Reserved. Privacy Policy