Skip to main content
Question

POST comments API response "Missing required parameter message_meta"

  • December 10, 2021
  • 1 reply
  • 1512 views

Go_Yamazaki

POST comments API

curl 'https://api.figma.com/v1/files/[FILE_KEY]/comments' \
  -H 'authority: api.figma.com' \
  -H 'x-figma-token: [PERSONAL_ACCESS_TOKEN]' \
  -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) figma-linux/0.9.2 Chrome/89.0.4389.128 Electron/12.2.2 Safari/537.36' \
  -H 'content-type: text/plain;charset=UTF-8' \
  -H 'accept: */*' \
  -H 'origin: null' \
  -H 'sec-fetch-site: cross-site' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-dest: empty' \
  -H 'accept-language: en-US' \
  --data-raw '{"message":"My Message","client_meta":{"node_id":"3718:6626","node_offset":{"x":0,"y":0}}}' \
  --compressed

responses with the following body…

{"error":true,"status":400,"message":"Missing required parameter message_meta","l10n":null}

I posted here because I could not find in the document with the message_meta error message. Will you explain to me what seems to be a problem?
Thank you in advance.

This topic has been closed for replies.

  • January 9, 2022

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings