Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nigel Wilson 938 posts 2060 karma points
    Jul 12, 2020 @ 18:54
    Nigel Wilson
    0

    404 Due To URL Length - Large Number of Doc Types

    Hi there

    I have been happily using DocType Grid Editor for a few years, but last night hit a brick wall, suddenly getting 404 error messages.

    The site uses Umbraco V7.13.2 and the DocType version is 0.61 - this I believe is the last version available.

    From experimenting I believe the issue relates to the URL length for the /umbraco/backoffice/DocTypeGridEditorApi/DocTypeGridEditorApi/GetContentTypes call

    I had approx 50 doc types enabled for use (yes the site I am managing has a lot of specific layout requirements) and so the URL length is in excess of 2048 characters.

    I do note that the query string is quiet inefficient in terms of how it is structured, e.g. allowedContentTypes=gridButtonWithSignUpModal&allowedContentTypes=gridButtonSlideDownContent&allowedContentTypes=gridConsultationInfo...

    In my example the "allowedContentTypes" text consumes approx 940 of the 2048 character limit.

    Just thought I'd let you know just in case it can be considered going forward and the API call can be altered to be more efficient.

    Cheers

    Nigel

Please Sign in or register to post replies

Write your reply to:

Draft