Error Metafield, Required parameter is missing or Invalid

Tourist
13 0 1

So currently i am testin on my csv plugin and after i upload it keeps returning

{"errors":{"metafield":"Required parameter missing or invalid"}}

although I have send the link to 

token@website.com/admin/products/id/metafields.json

and my Json was

{"metafield":{"namespace":"productfield","key":"author","value":"Daniel Levitin","value_type":"string"}}

Why does i kept receiving this error? and how do i fix it thank you

0 Likes
Tourist
13 0 1

Solved by adding headers

0 Likes
Highlighted
Excursionist
14 0 4

Care to explain how did you manage to make this work?

0 Likes