Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Introduction to the Onshape API training course

section 03.Post Requests

exercise: Executing a POST Request slide 3 of 7

when I click execute I receive server response code 409 instead of 200

Answers

  • Matt_ShieldsMatt_Shields Member, Onshape Employees Posts: 930 PRO

    Make sure you are logged into Onshape in another tab in your browser.

    Make sure you are using the correct endpoint:
    https://cad.onshape.com/glassworks/explorer/#/Document/copyWorkspace

    Make sure you have the correct request body.

    {
         "isPublic": false,
         "newName": "Mailman Robot",
         "ownerId": "xxxxxxxxxxxxxx"
    }
    
  • james_anderson507james_anderson507 Member Posts: 6

    slide 3 points to the following:

    POST

     

    /documents/{did}/workspaces/{wid}/copy

Sign In or Register to comment.