Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Blank response content when receiving JS object

Solved600 views10th December 2024HTTP JSON
2
Pedro Sánchez [DevOps Advocate]239 5th November 2024 1 Comment

Hello Dojo,

We are trying to receive information through an API that returns a JSON. However, even though we can see the data in Wireshark, the DataMiner streamviewer returns an empty value. Additionally, when we send the data to the parameter ID, we see that the parameter is also blank.
Wireshark:

Stream Viewer:

We are trying to catch the response using:

<Response statusCode="502">
<Content pid="302"></Content>
</Response>

Are we missing something here?

Thanks!!

Edit:
José, I've tried before with application/json as Content-type with the same result. I've also try to add some other headers, delete them, try combinations...
Complete session:

<Session id="2" name="HTTP_REQUEST_GetStreams" loginMethod="credentials" userName="username" password="password">
<Connection id="1">
<Request verb="GET" url="/zixi/streams.json">
<Headers>
<Header key="Authorization">credentials</Header>
<Header key="User-Agent">DataMiner</Header>
<Header key="Accept">*/*</Header>
<Header key="Accept-Encoding">gzip, deflate, br</Header>
<Header key="Connection">keep-alive</Header>
<Header key="Content-Type">application/json</Header>
</Headers>
</Request>
<Response statusCode="502">
<Content pid="302"></Content>
</Response>
</Connection>
</Session>

Pedro Sánchez [DevOps Advocate] Selected answer as best 10th December 2024
Pedro Sánchez [DevOps Advocate] commented 14th November 2024

Hi Dojo! has anyone had a similar experience? we are still facing the same problem after a lot of "headers-combination" test.
Thank you!

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
José Silva [SLC] [DevOps Catalyst]1.32K Posted 5th November 2024 2 Comments

Hi Pedro,

Could you share the full session details with us?
Also, have you tried adding the following as a header?

<Header key="Content-Type">application/json</Header>

Kind regards,

Pedro Sánchez [DevOps Advocate] Posted new comment 5th November 2024
José Silva [SLC] [DevOps Catalyst] commented 5th November 2024

The XML content in the “Add a Comment” box will always be truncated due to a known issue.

Could you please update your initial question to include this information?

Thanks in advance
Kind regards,

Pedro Sánchez [DevOps Advocate] commented 5th November 2024

Hi José, done!

You are viewing 1 out of 2 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin