APIs & Integrations

RevAnalytics
Membre

Updating Original Source With API

Résolue

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.

 

 

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.

1 Solution acceptée
GRajput
Solution
Expert reconnu | Partenaire solutions Platinum
Expert reconnu | Partenaire solutions Platinum

Updating Original Source With API

Résolue

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!




Gaurav Rajput
Director, MarTech( Growth Natives)

Book a meeting


Voir la solution dans l'envoi d'origine

3 Réponses
GRajput
Solution
Expert reconnu | Partenaire solutions Platinum
Expert reconnu | Partenaire solutions Platinum

Updating Original Source With API

Résolue

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!




Gaurav Rajput
Director, MarTech( Growth Natives)

Book a meeting


Jaycee_Lewis
Gestionnaire de communauté
Gestionnaire de communauté

Updating Original Source With API

Résolue

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 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

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

RevAnalytics
Membre

Updating Original Source With API

Résolue

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

0 Votes