# Updating Original Source With API

**URL:** <https://community.hubspot.com/t/updating-original-source-with-api/116488>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [September 17, 2024, 2:15pm UTC](https://community.hubspot.com/t/updating-original-source-with-api/116488 "2024-09-17T14:15:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RevAnalytics](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/revanalytics/32/202375_2.png) [@RevAnalytics](https://community.hubspot.com/u/RevAnalytics)\
**Post date:** [September 17, 2024, 2:15pm UTC](https://community.hubspot.com/t/updating-original-source-with-api/116488/1 "2024-09-17T14:15:50Z")

</div>

Our application is a rate calculator that also captures customer information. Because users can recalculate their rate by adjusting the different fields and then the result is 3-4 different products, using the form submission API doesn’t seem like a good fit for our needs.

We are creating contacts and deals using API currently and when creating a deal, I want to set the original source using using API and conditional arguments the check using the URL. However we are having issue changing the field using API and get this error.

```lia-code-sample
Error creating deal (data): {
 status: 'error',
 message: 'Property values were not valid: [{"isValid":false,"message":"\\"hs_analytics_source_data_1\\" is a read only property; its value cannot be set.","error":"READ_ONLY_VALUE","name":"hs_analytics_source_data_1","localizedErrorMessage":"\\"hs_analytics_source_data_1\\" is a read only property; its value cannot be set.","propertyValue":"ppc","portalId":39884412}]',
 correlationId: 'fad2c49a-c8b9-4ef8-939e-be7e9ed6c724',
 category: 'VALIDATION_ERROR'
}

```

So far support has not been able to provide adequate information how we should go about handling this, so I’m hoping someone in the community could provide additional support.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [September 17, 2024, 3:41pm UTC](https://community.hubspot.com/t/updating-original-source-with-api/116488/2 "2024-09-17T15:41:54Z")

</div>

Hey, @RevAnalytics 👋 To echo what support said, `“hs_analytics_source_data_1”` Original Source Drill-Down 1, is a read-only property. This property cannot be manually set in-app or via the API. “Please note: the drill-down properties are automatically set by HubSpot and **cannot** be updated manually.” — [**Source**](https://knowledge.hubspot.com/properties/understand-source-properties#understand-source-drill-down-properties) Unfortunately, there is not a way to “force” the API to accept values for a read-only property.

Please let me know if you have any additional questions! — Jaycee

---

<div class="post-metadata">

**Author:** ![RevAnalytics](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/revanalytics/32/202375_2.png) [@RevAnalytics](https://community.hubspot.com/u/RevAnalytics)\
**Post date:** [September 17, 2024, 4:50pm UTC](https://community.hubspot.com/t/updating-original-source-with-api/116488/3 "2024-09-17T16:50:40Z")

</div>

So how would I be able to effectively measure my marketing if I’m not able to properly set the source of the deals?

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [September 18, 2024, 1:07pm UTC](https://community.hubspot.com/t/updating-original-source-with-api/116488/4 "2024-09-18T13:07:19Z")

</div>

Hi @RevAnalytics

As of now, you can’t change that property. One possible solution is to create a new property and update it and then on the basis of that newly created property you can measure marketing.

I hope this will help you out. Please mark it as **Solution Accepted and upvote** to help another Community member.  
Thanks!
