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
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • 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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about 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)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

API returning 413: The page was not displayed because the request entity is too large.

60 views2 days agoAPI api data
2
Caio Gomes102 2 days ago 0 Comments

In very few details: The method that is returning this is:
https://docs.dataminer.services/develop/webservices/WS_v1/WS_Methods_v1/AddCommentToAlarmV2.html

I've not noticed a pattern for this, but I guess that this is the result if the comment length is greater than a set char limit. The normal Cube interface doesn't seem to have one (i tried up to 10000 characters). Can someone tell me this?

Sebastiaan Dumoulein [SLC] [DevOps Enabler] Answered question 2 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Sebastiaan Dumoulein [SLC] [DevOps Enabler]14.37K Posted 2 days ago 3 Comments

Hi Caio,

A 413 usually means the request body is larger than the server is willing to accept. It isn’t tied to DataMiner in particular. It’s a standard safeguard on web servers.

You can raise the limit if needed, but the restriction exists for a reason. Very large comments can slow things down, so it’s better to keep them on the smaller side when possible.

Edit:

To have a look at your limits, you can check the web.config inside the "C:\Skyline DataMiner\Webpages\API":

<configuration>
<system.web>
<httpRuntime maxRequestLength="51200" />
</system.web>

<system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength="20971520" />
</webServices>
</scripting>
</system.web.extensions>

<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="52428800" />
</requestFiltering>
</security>
</system.webServer>
</configuration>

Caio Gomes Posted new comment 7 hours ago
Caio Gomes commented 2 days ago

Yes.
But I don't want to raise the limit. I want to know what the limit is. So I can develop around it.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 2 days ago

I've updated my answer to point to the location of those limits.

Caio Gomes commented 7 hours ago

Cool.
With this, I believe I implemented something that will truncate requests that try to go beyond the limit.

Thank you

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