# Postman Galaxy Training - Galaxy API's 101 - Potential Bug with HTTP PUT to Update Customer

**URL:** <https://community.postman.com/t/postman-galaxy-training-galaxy-apis-101-potential-bug-with-http-put-to-update-customer/43159>\
**Category:** Help Hub\
**Created:** [January 23, 2023, 10:19pm UTC](https://community.postman.com/t/postman-galaxy-training-galaxy-apis-101-potential-bug-with-http-put-to-update-customer/43159 "2023-01-23T22:19:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ganggreentempertatum](https://avatars.discourse-cdn.com/v4/letter/g/46a35a/32.png) [@ganggreentempertatum](https://community.postman.com/u/ganggreentempertatum)\
**Post date:** [January 23, 2023, 10:19pm UTC](https://community.postman.com/t/postman-galaxy-training-galaxy-apis-101-potential-bug-with-http-put-to-update-customer/43159/1 "2023-01-23T22:19:28Z")

</div>

**_My issue_:**

- I think I found a problem with the [API 101 badge/training](https://www.postman.com/postman/workspace/postman-galaxy-training/collection/9065401-2aa44ec4-a674-4216-a451-8a3cfd98ff77?action=share&creator=21448743) On the `PUT` step to update a customer ID, I am prompted to enter the following JSON body payload:

```auto
{
    "address": "{{$randomStreetAddress}}"
}

```

My requesting going to `{{training_apis}}/customer?cust_id=weBJNalj1a`, which is the ID from my `GET` request step beforehand.

I get the `"You can only update customers you added using the POST method (and that haven't been deleted)."` error.

If I test and re-submit the `PUT` as a `POST` it takes me in a loop back to the original stage of the training pre the `POST` method AKA ( **“You added a new customer!”** )

Hope this makes sense! Thank you in advance

**_Details (like screenshots)_:**

Attached

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/4/8/481e2234101cea82c992dbc0449f4b3e8c94109c.png)  
 ![image2](https://us1.discourse-cdn.com/getpostman/original/3X/5/9/594140512f4b375a8953b9efe64d99406b8eaf52.png)  
 ![Screenshot 2023-01-23 at 14.18.15](https://us1.discourse-cdn.com/getpostman/original/3X/2/7/27db50f71718e2c25cc2527cce2693a9627a9e47.png)

**_How I found the problem_:**

- Upon completion of initial training collection steps and upon entering the `Update Customer` action within the collection

**_I’ve already tried_:**

- Entirely restarting the process using a different authorization email ID for the process.
- I am not sure what else can be tested here, my `--header 'Content-Type: application/json' ` is also valid from the code toolbar

---

<div class="post-metadata">

**Author:** ![ganggreentempertatum](https://avatars.discourse-cdn.com/v4/letter/g/46a35a/32.png) [@ganggreentempertatum](https://community.postman.com/u/ganggreentempertatum)\
**Post date:** [January 23, 2023, 10:26pm UTC](https://community.postman.com/t/postman-galaxy-training-galaxy-apis-101-potential-bug-with-http-put-to-update-customer/43159/2 "2023-01-23T22:26:46Z")

</div>

Sorry ignore me I managed to fix it! 🙂
