Bulk upsert returns HTTP 500 error in square explorer

I was playing around in sandbox mode to see if I can finally get the customer bulk upsert operation to work. I made about 20 definitions and created a customer with an alpha-numeric first name. The red bars in the picture represent the correct API ID I use to access my sandbox. It doesn’t matter if I use the correct values or not, when I run the request in api explorer I get the 500 internal server error.

Until this is fixed and until I can figure out how it works, I’ll have to resort to adding one item at a time which would make the experience slow for a customer if he is buying tons of items.

What is your application ID? Please note what you have hidden in the image that you provided is your sandbox access token NOT the application ID. You should never share your access token however the application ID is safe to share. :slightly_smiling_face:

Ok that’s my web SDK application ID when I use my sandbox:
sandbox-sq0idb-SMAihd3-mYYoPABJNDQU8Q

The team is looking into this but I believe it has to do with the format for the request. For example here is one that I use:

{
    "values": {
      "id1": {
        "customer_id": "N3NCVYY3WS27HF0HKANA3R9FP8",
        "custom_attribute": {
          "key": "favoritebook",
          "value": "Dune"
        },
        "idempotency_key": "{{$guid}}"
      },
      "id2": {
        "customer_id": "SY8EMWRNDN3TQDP2H4KS1QWMMM",
        "custom_attribute": {
          "key": "favoritebook",
          "value": "Through the Looking Glass",
          "version": 2
        },
        "idempotency_key": "{{$guid}}"
      },
      "id3": {
        "customer_id": "SY8EMWRNDN3TQDP2H4KS1QWMMM",
        "custom_attribute": {
          "key": "favoritemovie",
          "value": "Apocalypse Now",
          "version": 3
        },
        "idempotency_key": "{{$guid}}"
      },
      "id4": {
        "customer_id": "N3NCVYY3WS27HF0HKANA3R9FP8",
        "custom_attribute": {
          "key": "square:a0f1505a-2aa1-490d-91a8-8d31ff181808",
          "value": "10.5"
        },
        "idempotency_key": "{{$guid}}"
      },
      "id5": {
        "customer_id": "70548QG1HN43B05G0KCZ4MMC1G",
        "custom_attribute": {
          "key": "sq0ids-0evKIskIGaY45fCyNL66aw:backupemail",
          "value": "[email protected]",
          "version": 1
        },
        "idempotency_key": "{{$guid}}"
      }
    }
  }

:slightly_smiling_face: