# Have a problem when creating collection

**URL:** <https://community.postman.com/t/have-a-problem-when-creating-collection/778>\
**Category:** Help Hub\
**Tags:** options\
**Created:** [January 25, 2018, 12:35pm UTC](https://community.postman.com/t/have-a-problem-when-creating-collection/778 "2018-01-25T12:35:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chshpamo](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/chshpamo/32/289_2.png) [@chshpamo](https://community.postman.com/u/chshpamo)\
**Post date:** [January 25, 2018, 12:35pm UTC](https://community.postman.com/t/have-a-problem-when-creating-collection/778/1 "2018-01-25T12:35:19Z")

</div>

When I use superagent to create collection by post method,

The browser first request with the option method.

 ![postman](https://us1.discourse-cdn.com/getpostman/original/3X/a/6/a631be00fa2cf7433bbb1f5920d15808e09e2ee6.png)

Seems like the server dosn’t support OPTIONS request.

chrome dev tool console:

> Blockquote  
> Failed to load [https://api.getpostman.com/collections:](https://api.getpostman.com/collections:) Response to preflight request doesn’t pass access control check: The ‘Access-Control-Allow-Origin’ header contains the invalid value ‘’. Origin ‘[http://localhost:8080](http://localhost:8080)’ is therefore not allowed access.

---

<div class="post-metadata">

**Author:** ![shamasis](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/shamasis/32/53_2.png) [@shamasis](https://community.postman.com/u/shamasis)\
**Post date:** [February 4, 2018, 9:02pm UTC](https://community.postman.com/t/have-a-problem-when-creating-collection/778/2 "2018-02-04T21:02:55Z")

</div>

Yeah. It doesn’t as of yet. @kamalaknn @ankit.jaggi @SuhasGaikwad - thoughts?
