What is required for the response from the CRM extensions dataFetchUri?
SOLVE
Hi,
We are trying to simply put an action button to launch a modal as part of the CRM extensions. We don't need a card as there aren't any objects to technically display. We keep receiving "Response deserialization error", but we suspect it's for not having enough of the json response filled out.
Your object type has a dataFetchUri which uses a path which is not included in your baseUris array.
Per the Object Type Fields section of this article, the baseUris array is "A list of acceptable base URIs for actions. All action URIs must be located under one of these paths."
It's not possible to avoid cards completely, but you should be able to create a single card on each record with objectId and title. These are the only fields which are listed as required in our documentation.
If I have misunderstood you, could you share an example request and the error you receive?
Jul 10, 20191:47 AM - edited Jul 10, 20192:25 AM
Top Contributor
What is required for the response from the CRM extensions dataFetchUri?
SOLVE
Thanks for the reply - we thought as much and tried that already. We're still getting the same error. "Response deserialization error" is showing in the monitoring section of our CRM Extension.
No worries at all - we're just stuck looking at a black box. We did try the empty result set originally, and the same error ocurred - that was our reasoning for adding the other piece as it seemed like two of those fields were required.
Sorry again for the delay on my end; I was out of office yesterday.
I don't have any ideas quite yet, but I'll continue digging. Thank you so much for your continued patience. It's obviously possible, so we'll track down the cause eventually
Your object type has a dataFetchUri which uses a path which is not included in your baseUris array.
Per the Object Type Fields section of this article, the baseUris array is "A list of acceptable base URIs for actions. All action URIs must be located under one of these paths."
We fixed the issue with the baseUris, and we're still receiving Response Deserialization Errors when it sends the JSON back from our data response action.
Sorry to hear that... I don't off the top of my head, but could you share a link to an example company record for which you've created a "Transparent Pricing" object? (Feel free to send through DM.) I'd like to compare the response shown in your app's Monitoring tab to some working examples.