# API-Server is missconfigured: For password-protected blogs you cant retrieve posts, 401 You don't have permission to access this collection

**URL:** <https://discuss.write.as/t/api-server-is-missconfigured-for-password-protected-blogs-you-cant-retrieve-posts-401-you-dont-have-permission-to-access-this-collection/8012>\
**Category:** API\
**Tags:** troubleshooting\
**Created:** [January 25, 2023, 9:14pm UTC](https://discuss.write.as/t/api-server-is-missconfigured-for-password-protected-blogs-you-cant-retrieve-posts-401-you-dont-have-permission-to-access-this-collection/8012 "2023-01-25T21:14:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ASPI-ARGUE](https://discuss.write.as/user_avatar/discuss.write.as/aspi-argue/32/3331_2.png) [@ASPI-ARGUE](https://discuss.write.as/u/ASPI-ARGUE)\
**Post date:** [January 25, 2023, 9:14pm UTC](https://discuss.write.as/t/api-server-is-missconfigured-for-password-protected-blogs-you-cant-retrieve-posts-401-you-dont-have-permission-to-access-this-collection/8012/1 "2023-01-25T21:14:12Z")

</div>

Dear Fellows,

Iam writing a little javascript-library I want to share with all of the write.as - Users wich is nice to use. I have a password-protected blog (collection) from wich I want to get the posts. First I authenticate with alias:pass and get in response my Token.  
Next thing is to get my posts, Answer: 401: You don’t have permission to access this collection.  
This must be a bug, I really want not believe, that no write.as - User at the moment is not using the API and runs into this problem.

Dear Matt: Please, please fix this the next hour or so. I want to code, want to write and cant, because I stuck with this open problems. Matt, here is some foretaste for your holydays:

 ![Pina-Colada-056](https://discuss.write.as/uploads/default/original/2X/2/272bd326ed6be844163103d029ec4a20ea13294f.webp)

close your eyes, take a nip, relax for 5 minutes, enjoy the pina collada.

Then: Please fix my problems 🙂  
Cheers, Dietrich
