@jaspermayone , I suspect your base64 encoded string contains characters invalidating the URL. To make sure the string is valid you need to use not just base64 encoded string but base64URL encoded. Those a slightly different versions of base64 encryption. The later is URL-safe.