# Call External Endpoint - Source Type JSON

**URL:** <https://community.nextw.com/t/call-external-endpoint-source-type-json/1480>\
**Category:** Nextworld Platform\
**Tags:** logic-blocks\
**Created:** [November 21, 2025, 12:11am UTC](https://community.nextw.com/t/call-external-endpoint-source-type-json/1480 "2025-11-21T00:11:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablo.porras](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/pablo.porras/32/1073_2.png) [@pablo.porras](https://community.nextw.com/u/pablo.porras)\
**Post date:** [November 21, 2025, 12:11am UTC](https://community.nextw.com/t/call-external-endpoint-source-type-json/1480/1 "2025-11-21T00:11:08Z")

</div>

Hi NW,  
Do you know how to we can use the source type JSON when making endpoint request? I am seeing my calls fail and in the endpoint logging app I see the below error:

Unable to invoke external endpoint nsCoxEFormsRenderPDFJson.; Cannot invoke “org.bson.Document.get(Object)” because the return value of “net.nextworld.callouts.ExtEndptContext.getFirstRecord()” is null

---

<div class="post-metadata">

**Author:** ![ian.p](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/ian.p/32/427_2.png) [@ian.p](https://community.nextw.com/u/ian.p)\
**Post date:** [November 21, 2025, 1:53pm UTC](https://community.nextw.com/t/call-external-endpoint-source-type-json/1480/2 "2025-11-21T13:53:46Z")

</div>

If you’re doing everything as per Release Note `RN-24.2-[Nextbot]-5664` and it’s not working I recommend booking time with one of the SD Advisors per the links on the Freshdesk Solution Developer portal to help troubleshoot the issue.

 ![image](https://us1.discourse-cdn.com/flex001/uploads/nextworld/original/1X/a5e5f48e8c2dc8f1269df40bb6117433989d9096.png)

---

<div class="post-metadata">

**Author:** ![pablo.porras](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/pablo.porras/32/1073_2.png) [@pablo.porras](https://community.nextw.com/u/pablo.porras)\
**Post date:** [November 25, 2025, 9:01am UTC](https://community.nextw.com/t/call-external-endpoint-source-type-json/1480/3 "2025-11-25T09:01:15Z")

</div>

@ian.p Could you share the link to the Freshdesk Solution Developer portal. I want to book some time with an SD Advisor to get some help on this.

---

<div class="post-metadata">

**Author:** ![ian.p](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/ian.p/32/427_2.png) [@ian.p](https://community.nextw.com/u/ian.p)\
**Post date:** [November 25, 2025, 2:23pm UTC](https://community.nextw.com/t/call-external-endpoint-source-type-json/1480/4 "2025-11-25T14:23:31Z")

</div>

[https://sdsupport.nextworld.net/support/home](https://sdsupport.nextworld.net/support/home)

 ![image](https://us1.discourse-cdn.com/flex001/uploads/nextworld/original/1X/7ae5c77180f6b5f23ff72a71bf210fff20e2658c.jpeg)
