New Section API Testing 406 Error

Shopify Expert
55 6 12


I am testing out the new Sections API in a developer’s preview store (Unite 2019). I have built a public app to make requests to the admin Sections API.


I am trying to create a new section but I am not fully sure how this new feature works, as the documentation is understandably lacking.


I am trying to make a post request to “/master_pages.json”, with the request formatted like this:

         "title":"Test Section",

I am receiving a 406 error (The requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request), I am not sure if this is because my request is incorrect or if the POST feature of this API is active yet?



Reply 1 (1)
Shopify Staff
Shopify Staff
689 19 264

Hi there Addison.


Thanks for your question-  it looks like you were seeing a 406 error because the POST feature of this API was not active. However, we've now updated the feature so that master pages can now be created via the REST API. If you attempt this request again, it should work as expected. 


Hope this helps Addison- let me know if you run into other issues 🙂


Liam Griffin

Shopify | Developer Tools & Education

Liam | Developer Community Manager @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit or the Shopify Web Design and Development Blog