# Base64 decode Please

**URL:** https://community.thunkable.com/t/base64-decode-please/2976998
**Category:** Questions about Thunkable X
**Tags:** help, base64
**Created:** [April 30, 2024, 8:19am UTC](https://community.thunkable.com/t/base64-decode-please/2976998 "2024-04-30T08:19:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![wammytech](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wammytech](https://community.thunkable.com/u/wammytech)
#### Post date: [April 30, 2024, 8:19am UTC](https://community.thunkable.com/t/base64-decode-please/2976998/1 "2024-04-30T08:19:50Z")

</div>

I’m trying to decode a Json response into base64 to use the response in a route trace, I’m using Google’s route API call [Ver trajeto &nbsp;|&nbsp; Routes API &nbsp;|&nbsp; Google for Developers](https://developers.google.com/maps/documentation/routes/compute_route_directions?hl=pt-br)  
and I tried to use and convert the code from this topic [[Solved] how do I base64 encode an image?](https://community.thunkable.com/t/solved-how-do-i-base64-encode-an-image/1858457) , I’m using this code in the webviwer and for encoding it works fine, when I change abot to atob I can’t get the code decoded.

 ![Captura de ecrã 2024-04-30 091805](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/4/8469394f002f28b564a5c9ee1a52db0e404d3f6c.png)  
I don’t get anything back, for coding the coded response works wonderfully well, how can I run it or is there another way to run this code

---

<div class="post-metadata">

### Author: ![pacecode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pacecode/32/209017_2.png) [@pacecode](https://community.thunkable.com/u/pacecode)
#### Post date: [April 30, 2024, 10:10am UTC](https://community.thunkable.com/t/base64-decode-please/2976998/2 "2024-04-30T10:10:03Z")

</div>

I think you’re not getting the Correct Response,  
First, Do not add the API Post Block Twice, Use it Once, and add an Error Statement with an Alert in Web API Post, It would help Locate the Issue.

* * *

Want to hire a Certified Thunkable Expert? [Whoocoder | Thunkable Expert | Hire Now On Fiver!!](https://pro.fiverr.com/certified/thunkable?utm_source=fiverr_certified&utm_medium=homepage&utm_campaign=certified_home&service=thunkable-project&active_expert_id=147498421)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [July 29, 2024, 10:10am UTC](https://community.thunkable.com/t/base64-decode-please/2976998/3 "2024-07-29T10:10:20Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
