• Resolved cedaly1968

    (@cedaly1968)


    We are building an app in Bubble to connect a WooCommerce cart to Bubble and provide reporting and admin services to woo customers.

    The API uses the key and secret, authenticates to the store, returns a 200 response and says there are zero customer records and there are 4 there.

    {
    "body": [],
    "error": {
    "status_code": 200,
    "status_message": "OK",
    "body": "\"[]\""
    },
    "returned_an_error": false,
    "headers": {
    "server": "nginx",
    "date": "Fri, 07 Apr 2023 20:35:49 GMT",
    "content-type": "application/json; charset=UTF-8",
    "content-length": "2",
    "connection": "keep-alive",
    "set-cookie": [
    "mailpoet_page_view=%7B%22timestamp%22%3A1680899748%7D; expires=Mon, 04-Apr-2033 20:35:48 GMT; Max-Age=315360000; path=/"
    ],
    "x-robots-tag": "noindex",
    "link": "https://shop.iwantthat.io/wp-json/; rel=\"https://api.w.org/\"",
    "x-content-type-options": "nosniff",
    "access-control-expose-headers": "X-WP-Total, X-WP-TotalPages, Link",
    "access-control-allow-headers": "Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type",
    "expires": "Wed, 11 Jan 1984 05:00:00 GMT",
    "cache-control": "no-cache, must-revalidate, max-age=0",
    "x-wp-total": "0",
    "x-wp-totalpages": "0",
    "x-xss-protection": "1; mode=block",
    "allow": "GET, POST",
    "x-httpd-modphp": "1",
    "host-header": "6b7412fb82ca5edfd0917e3957f05d89",
    "x-proxy-cache": "MISS",
    "x-proxy-cache-info": "0 NC:000000 UP:SKIP_CACHE_NO_CACHE"
    }
    }

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @cedaly1968

    Thanks for reaching out!

    I understand that you are building an app in Bubble to connect a WooCommerce cart to Bubble and provide reporting and admin services to your customers. It seems like you’ve successfully authenticated to the store using the API key and secret, but you’re encountering an issue where the API returns a 200 response and indicates there are zero customer records, even though there are actually four.

    This is a bit of a complicated topic that would need some customization to address. Unfortunately, custom coding is not something we can assist with directly. However, I’ll keep this thread open for a bit to see if anyone from the community can lend a hand.

    If you have any other questions related to development or custom coding, don’t hesitate to reach out to some of the great resources we have available for support. The WooCommerce community is filled with talented open-source developers, and many of them are active on the channels listed below:

    Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Rest API Customers Returns 200 Code but No Customer Data’ is closed to new replies.