biomathcode / Postman-Doc

3 stars 1 forks source link

Importing Large Postman Collections Times Out with No Page Creation #1

Open cmccullough14 opened 1 year ago

cmccullough14 commented 1 year ago

While attempting to use the app in Confluence Cloud to import a large Postman Collection it appears to time out or error (but nothing warns the user). The Postman Collection I was importing can be found here: https://www.postman.com/api-evangelist/workspace/atlassian-confluence/documentation/35240-a1adb5da-a0fe-4a6e-9435-7531e1b20955

To Reproduce Steps to reproduce the behavior:

  1. Add the collection to your Postman Workspace
  2. In Confluence go to the Postman Doc app
  3. Click the + Create Doc button
  4. Receive confirmation that the page was created and a prompt to refresh.
  5. No actual page is created

Expected behavior The page should be created

Screenshots image image image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

cmccullough14 commented 1 year ago

After some further experimenting, it seems that this may be caused by having the request nested under multiple subfolders.

For example: Collection --> Request (imports fine) Collection --> Folder --> Request (imports fine) Collection --> Folder --> Folder --> Request (Does not import)

biomathcode commented 1 year ago

Hey Thanks for reporting the issue. I am able to reproduce it. I remember that I only focused on 2 order of nesting only. Hence, the issue.