question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

🐛 BUG: bulk put: could not base64 decode value for key

See original GitHub issue

What version of Wrangler are you using?

0.0.22

What operating system are you using?

Mac

Describe the Bug

Logs show propers readings, skippings and uploadings.

Then start to expiring unused assets and after do a few throw next error:

✘ [ERROR] Received a bad response from the API

bulk put: ‘could not base64 decode value for key: “dist/client/assets/404.cdfafd35.2ee828c209.js”, err: ‘illegal base64 data at input byte 6’’ [code: 10012]

I suspect is related with your new feature for expire unused assets #587.

Upload works properly with a clean new KV Store.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
threepointonecommented, Mar 22, 2022

would you like to try with a prerelease version (https://github.com/cloudflare/wrangler2/pull/667#issuecomment-1075060013) and see if it fixes your problem?

0reactions
petebacondarwincommented, Mar 22, 2022

Rock on!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Base64 Encode "string" - command-line Windows?
Here's a PowerShell one-liner you can run from a cmd console that'll Base64 encode a string. powershell "[convert]::ToBase64String([Text.
Read more >
Salesforce isn't handling Base64 Encoded attachments ...
After some investigation, I realized that the image is not displaying because it is still in the base64 format, even after it has...
Read more >
Understanding the "illegal base64 character" error (Java ...
This error happens when the string that you are trying to transform contains a character not recognized by the basic Base 64 Alphabet...
Read more >
BASE64-DECODE function - Progress Documentation
Converts a Base64 character string into a binary value. The result is a MEMPTR containing the binary data. Syntax BASE64-DECODE ( expression )...
Read more >
How to Base64 Encode and Decode in Notepad++
To encode or decode Base64 data you need to first highlight the entire range of data you want to be encoded or decoded....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found