Skip to main content
Best answer

Missing the "id" property


Hello everybody, i recently tried to create my own Trigger for my Zap.
But after Testing i always get the same error. Is there any way how i could map the “id” from Zapier with one of my id’s from my API? As an example map my TicketId with the “id” that Zapier needs.

Best answer by SamBBest answer by SamB

Just wanted to follow up here as spotted @swas24 also reached out to our Support Team about this who confirmed that it is possible to use the TicketID for the ID instead. I wanted to share their suggestion here in case it’s helpful to anyone looking to use a different field for the ID as well:
 

“yes, that's definitely doable. You can add code (maybe use map() )  within the API Configuration setup to rename the key for the TicketID field to ID, then make sure that gets returned to Zapier instead of TicketID. ”


If you’re unsure of the code to use for that, I’d recommend checking out the example Zane shared in this related topic:

https://community.zapier.com/developer-discussion-13/got-a-result-missing-the-id-property-12555

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

  • Author
  • Beginner
  • 1 reply
  • October 1, 2021

Here would be the Response of my API:
 

{"asset":null,"starttime":"2021-03-01T15:03:07.447+0000","shortdescription":"Retrium Firmenlizenz","category1":"/ITO/Support/","category2":null,"category3":null,"urgency":"Normal","impact":"Default","priority":"Normal","status":null,"attachments":[],"comments":[],"linksPropertyList":[],"language":"en","lastModified":"2021-03-22T16:09:22.402+0000","_links":{"self":{"href":"http://trueactapi-int.scout24.ch/trueAct/rest/tickets/2761281"},"comments":{"href":"http://trueactapi-int.scout24.ch/trueAct/rest/tickets/2761281/comments"},"attachments":{"href":"http://trueactapi-int.scout24.ch/trueAct/rest/tickets/2761281/attachments"}},"ticketId":2749974,"myTicketId":null,"user":{"displayName":"Riedener, Yves","customernumber":""},"assignedToMe":false,"Status":null,"AccountID":null}

 


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7796 replies
  • Answer
  • December 1, 2021

Just wanted to follow up here as spotted @swas24 also reached out to our Support Team about this who confirmed that it is possible to use the TicketID for the ID instead. I wanted to share their suggestion here in case it’s helpful to anyone looking to use a different field for the ID as well:
 

“yes, that's definitely doable. You can add code (maybe use map() )  within the API Configuration setup to rename the key for the TicketID field to ID, then make sure that gets returned to Zapier instead of TicketID. ”


If you’re unsure of the code to use for that, I’d recommend checking out the example Zane shared in this related topic:

https://community.zapier.com/developer-discussion-13/got-a-result-missing-the-id-property-12555