Unable to import YDK file into collection

#1
OP grazzingcow • 1 year ago - (edited 1 year ago)

Hello, when attempting to update a ydk file to collections nothing happens and I get an error in the browser window that I have included.  I am currently using Chrome and have tried with the ydk file with the section headers included (#main, !side, extra) and have also taken them out so its a ydk file of just ID values.  Neither seems to work and both give the error below.  Hoping some insights could be provided, thank you for your time.

Image doesn't show up in post so im putting its text out instead:

POST https://ygoprodeck.com/api/collection/uploadFile.php 500

 

send

@

jquery-3.6.0.min.js:2

 

ajax

@

jquery-3.6.0.min.js:2

 

uploadFile

@

collection.js?v=1.18:31

 

onclick

@

(index):619

VM923:1 Uncaught SyntaxError: Unexpected end of JSON input

    at JSON.parse ()

    at Object.error (collection.js?v=1.18:32:226)

    at c (jquery-3.6.0.min.js:2:28327)

    at Object.fireWith (jquery-3.6.0.min.js:2:29072)

    at l (jquery-3.6.0.min.js:2:79926)

    at XMLHttpRequest. (jquery-3.6.0.min.js:2:82355)


#2
User avatar Premium
ygoprodeck • 1 year ago

Importing to .ydk seems to be working correctly for me. Can you try two things:

1. On the collection page, press ctrl+f5 on the keyboard to force a cache refresh and then try again.

2. If that fails, can you send me a link to your .ydk file and I can take a look. 

Thanks!

#3
OP grazzingcow • 1 year ago

i tried the ctrl+f5 with no luck.  Hopefully this link works for you: https://drive.google.com/file/d/1cbtve_9uLUZrpFJJpona1ZGHkbvZeEj2/view?usp=sharing

#4
User avatar Premium
ygoprodeck • 1 year ago

Hey, thanks for that. This bug should be fixed now!

Was an issue with leading 0s for the Card Passcode in the .ydk file.

#5
OP grazzingcow • 1 year ago

Thank you, I tested it around when you implmented the fix, (was trying to troubleshoot to help give you some information) and miraculously it worked, thank you for you time and help. 

#6
OP grazzingcow • 1 year ago
grazzingcow:

i tried the ctrl+f5 with no luck.  Hopefully this link works for you: https://drive.google.com/file/d/1cbtve_9uLUZrpFJJpona1ZGHkbvZeEj2/view?usp=sharing

 For future people of this thread I will be deactivating the link, so it will no longer be working.

#7
plinkbowling • 1 year ago - (edited 1 year ago)
grazzingcow:

i tried the ctrl+f5 with no luck.  Hopefully this link works for you: https://drive.google.com/file/d/1cbtve_9uLUZrpFJJpona1ZGHkbvZeEj2/view?usp=sharing

 For future people of this thread I will be deactivating the link, so it will no longer be working.

This link still worked well.