Support

Account

Home Forums Backend Issues (wp-admin) API Error Received

Solving

API Error Received

  • Hello to all forum members, I am hoping you can please help me, I have only recently started to use ACF to add content to my woocommerce single product template which works well when I import new products using csv import, I am currently using the free version (but obviously planning to upgrade!).

    We are now trying to add new products by automation using api, when importing we get the system fields populated but none of the ACF fields data is added and we receive an error?

    This is the error we receive:

    {“code”:”rest_invalid_param”,”message”:”Invalid parameter(s): meta_data”,”data”:{“status”:400,”params”:{“meta_data”:”meta_data[0] is not of type object.”},”details”:{“meta_data”:{“code”:”rest_invalid_type”,”message”:”meta_data[0] is not of type object.”,”data”:{“param”:”meta_data[0]”}}}}}

    If we create products without meta_data fields (ACF Fields), then It seems to perfectly create a new product.

    I have also added here an attachment, I attach the error screenshot.

    Many thanks for any help or guidance, we look forward to hearing from you.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.