Server 500 error trying to create a new DST

BlueEyedFireDragon's Avatar

BlueEyedFireDragon

03 Sep, 2015 03:01 AM

I was trying to create a new DST:

Name: Dragkun's Star Wars:EotE
slug: ffsw

  1. 1 Posted by alex_redeye on 03 Sep, 2015 08:42 PM

    alex_redeye's Avatar

    At what point in the creation process are you getting the error? Is it when you first hit the Create New button, or is it when you actually try to save the created sheet?

  2. 2 Posted by BlueEyedFireDra... on 03 Sep, 2015 09:08 PM

    BlueEyedFireDragon's Avatar

    I was finally able to create the sheet when I removed all of the css and js.

    However when trying to save an update I still get the 500 . I've narrowed
    it down to js. I have some rather large json data. Is there a limit to
    amount of js that can be added through the Web form? I've validated the
    code and of course it runs fine on the dev kit locally, just trying to
    figure the issue.

    If I omit the json objects the save button works.

    Thanks
    Chris

  3. 3 Posted by alex_redeye on 03 Sep, 2015 09:13 PM

    alex_redeye's Avatar

    I am not aware of a direct limit, but I can confirm with tech on that. I am wondering if there might be something in the json code specifically that is blocked (like a particular string).

    Would you be opposed to me reaching out to you directly via email on this, should make it easier for us to share the code so I can see what is up?

  4. 4 Posted by BlueEyedFireDra... on 03 Sep, 2015 09:48 PM

    BlueEyedFireDragon's Avatar

    I'm not opposed to it at all :)

    I can also send you the full js for the DST as well.

    Thanks

  5. 5 Posted by BlueEyedFireDra... on 04 Sep, 2015 01:40 PM

    BlueEyedFireDragon's Avatar

    I did some additional tests. It looks like the js upload is only allowing
    64kb of js code. I tested by copying and pasting the same function over
    and over. The update of the DST works fine at 64kb as soon as it goes to
    65 kb I get a 500 error.

  6. 6 Posted by alex_redeye on 04 Sep, 2015 05:42 PM

    alex_redeye's Avatar

    Hey there, sorry I have been quiet the past couple of days but I sadly got sick and was out of commission. Now that I am back I can touch base on this with both tech and our DST guru. I will pop you an email as well so you can kick me over the code.

  7. 7 Posted by ChainsawXIV on 09 Feb, 2016 06:06 AM

    ChainsawXIV's Avatar

    I believe we cleared this up via email. There is indeed a data limit on these fields, but it's sensibly large in general.

    BlueEyedFireDragon, were you able to get everything sorted?

  8. 8 Posted by BlueEyedFireDra... on 09 Feb, 2016 03:37 PM

    BlueEyedFireDragon's Avatar

    Thanks for the reply. I still hit the field size limit, because of that I
    decided to abandon that project and move in another direction.

    Thanks.

  9. 9 Posted by ChainsawXIV on 09 Feb, 2016 04:20 PM

    ChainsawXIV's Avatar

    Would you mind sending me the JS you were using? I'm curious what you were doing that ended up being so much data, and might be able to help you get back on track with this.

    Hit me up via PM if you wouldn't mind sharing.

  10. OPSupport closed this discussion on 03 Apr, 2016 08:02 PM.

Discussions are closed to public comments.
If you need help with Obsidian Portal please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac