# CRM Extension API: Error Confused Type

**URL:** <https://community.hubspot.com/t/crm-extension-api-error-confused-type/13623>\
**Category:** APIs & Integrations\
**Tags:** developer-tools, object, timeline-and-extensions-apis\
**Created:** [March 21, 2019, 6:34pm UTC](https://community.hubspot.com/t/crm-extension-api-error-confused-type/13623 "2019-03-21T18:34:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunny2](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sunny2/32/2679_2.png) [@sunny2](https://community.hubspot.com/u/sunny2)\
**Post date:** [March 21, 2019, 6:34pm UTC](https://community.hubspot.com/t/crm-extension-api-error-confused-type/13623/1 "2019-03-21T18:34:07Z")

</div>

When I check CRM extensions logs I see a lot of confused type errors. what does that mean?

I crossed check we are sending correct data format.

Example: (I am hiding the domain and email for security reason (customers deal)).

`https:// ****.com/webhook/get_proposal?userId=6400243&userEmail=elizabeth@wearetribu.com&associatedObjectId=481357753&associatedObjectType=DEAL&portalId=234331&dealname=City+Education+Partners++-+Marketing+Proposal+-+R&amount=12500&closedate=1551333600000`

```auto
{
 "results": [
 {
 "objectId": "621789188",
 "title": "Jen - April 27th, 2019 - 2 Hours - Studio",
 "status": "Sent",
 "properties": [
 {
 "label": "Created by",
 "dataType": "EMAIL",
 "value": "**@tapsnap.net"
 },
 {
 "label": "Client",
 "dataType": "EMAIL",
 "value": "**@yahoo.com"
 },
 {
 "label": "Created On",
 "dataType": "DATE",
 "value": "2019-03-20"
 },
 {
 "label": "Due Date",
 "dataType": "DATE",
 "value": "2019-03-30"
 },
 {
 "label": "Sent On",
 "dataType": "DATE",
 "value": "2019-03-20"
 },
 {
 "label": "Viewed On",
 "dataType": "DATE",
 "value": "2019-03-21"
 },
 {
 "label": "Total",
 "dataType": "CURRENCY",
 "value": "525.00",
 "currencyCode": "USD"
 },
 {
 "dataType": "LINK",
 "value": "https:// ******.com/export/pdf/zf7nbbbbbc",
 "label": "Download Proposal"
 },
 {
 "dataType": "LINK",
 "value": "https:// ****.com/proposal/snapshot/1943093",
 "label": "View it in Proposify"
 }
 ],
 "actions": [
 {
 "type": "IFRAME",
 "width": 1470,
 "height": 800,
 "uri": "https:// ***.com/preview/zf7nbbbbbc?_iframe=https://***.com",
 "label": "Preview",
 "associatedObjectProperties": [
 "num_associated_contacts",
 "dealId",
 "amount",
 "dealname",
 "closedate"
 ]
 },
 {
 "type": "IFRAME",
 "width": 1470,
 "height": 800,
 "uri": "https://***.com/proposal/send/1943093?_iframe=https://app.hubspot.com",
 "label": "Send",
 "associatedObjectProperties": [
 "num_associated_contacts",
 "dealId",
 "amount",
 "dealname",
 "closedate"
 ]
 },
 {
 "type": "CONFIRMATION_ACTION_HOOK",
 "confirmationMessage": "Are you sure you want to unlink this proposal?",
 "confirmButtonText": "Yes",
 "cancelButtonText": "No",
 "httpMethod": "POST",
 "associatedObjectProperties": [
 "num_associated_contacts",
 "dealId",
 "amount",
 "dealname",
 "closedate"
 ],
 "uri": "https://**.com/webhook/proposal_unlink",
 "label": "Unlink"
 },
 {
 "type": "CONFIRMATION_ACTION_HOOK",
 "confirmationMessage": "Are you sure you want to delete this proposal?",
 "confirmButtonText": "Yes",
 "cancelButtonText": "No",
 "httpMethod": "DELETE",
 "associatedObjectProperties": [
 "num_associated_contacts",
 "dealId",
 "amount",
 "dealname",
 "closedate"
 ],
 "uri": "https://***.com/webhook/proposal_delete",
 "label": "Delete"
 }
 ]
 }
 ]
}

```

---

<div class="post-metadata">

**Author:** ![cbarley](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbarley/32/82559_2.png) [@cbarley](https://community.hubspot.com/u/cbarley)\
**Post date:** [March 25, 2019, 6:19pm UTC](https://community.hubspot.com/t/crm-extension-api-error-confused-type/13623/2 "2019-03-25T18:19:24Z")

</div>

Hi @sunny2 , thanks for reaching out! I’m checking with the team as to what those indicate since we don’t seem to document those. Looks like they’re just warnings, as the status code for all of those requests are 200 from what I can see.

---

<div class="post-metadata">

**Author:** ![cbarley](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbarley/32/82559_2.png) [@cbarley](https://community.hubspot.com/u/cbarley)\
**Post date:** [March 25, 2019, 7:08pm UTC](https://community.hubspot.com/t/crm-extension-api-error-confused-type/13623/3 "2019-03-25T19:08:54Z")

</div>

Hi @sunny2 , this warning usually means that one of your properties was the wrong type, i.e. you have a number property but you sent “value”:“123” instead of “value”:123. “123” is technically a string but we can convert it to a number, which throws that warning. The requests should still be successful
