• Resolved poojadhi16

    (@poojadhi16)


    Hello,
    I am creating a plugin to get products data from salesforce to woocommerce.

    I am getting error while using Rest API of woocommerce to get products from salesforce to woocommerce.
    I am getting product data from salesforce,but facing an error while post data to woocommerce.

    Error: PHP Fatal error: Uncaught Automattic\WooCommerce\HttpClient\HttpClientException: JSON ERROR: Syntax error

    2nd error from console: POST https://wordpress-657921-2399262.cloudwaysapps.com/wp-admin/admin-ajax.php 500

    Please tell me the reason for this error. Its urgent.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Getting error in rest api’ is closed to new replies.