Topic: Snippets not loading

cdenby pro asked 3 years ago


Expected behavior

While working in the MDBootstrap.com site, I'm trying to load my snippets.

Actual behavior

It looks like the browser is killing and re-establishing my authentication (Avatar disappears and re-appears). The Snippet never loads.

Resources (screenshots, code snippets etc.)

Not much else I can provide here.


Sebastian Kaczmarek staff commented 3 years ago

@cdenby Does this problem still occur? Can you provide us a link to the Snippet that you encounter this issue on?


cdenby pro commented 3 years ago

It doesn't matter which snippet I attempt to go to. At the moment, I'm in https://mdbootstrap.com/docs/b4/jquery/javascript/charts/ on the Bubble Chart and trying to "Open in MDB Editor". Now in the console, I pretty quickly see this message: https://mdbootstrap.com/docs/b4/jquery/javascript/charts/

compiled.1023.min.js?ver=4.19.2:25 POST https://mdbootstrap.com/api/snippets/jquery/cdenby/snippets/create 401 (Unauthorized)


Sebastian Kaczmarek staff commented 3 years ago

Does this problem occur when you try to enter a Snippet directly? For example this one: https://mdbootstrap.com/snippets/jquery/s-kaczmarek/2861497.

Also, when you say "Avatar disappears and re-appears" - what exactly are you referring to? Is it happening on the Docs page or at the Snippets Editor page?


cdenby pro answered 3 years ago


That link worked for me, and now I'm able to create a snippet with "OPEN IN MDB EDITOR". I'm not sure what was going on...


Sebastian Kaczmarek staff commented 3 years ago

I'm glad it works now! It looks like a bug on our side. I'm guessing that you did not receive an authentication cookie that it's used in the Snippets Editor and once you opened my Snippet (it could be any) it's been created for you and now you can create them with the button you mention. The cookie should be created without the need to open a snippet - we'll fix that. Sorry for the inconvenience.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.2
  • Device: PC
  • Browser: Chrome
  • OS: W10
  • Provided sample code: No
  • Provided link: No