Hi,
I am trying to sync a Google Sheet to DataBlaze, but I am running into a 403 error that the token is not valid. I only have one token en the token in my code is the same as what TextBlaze gives me.
What am I missing?
Thanks for any help,
Marjan
Hi, welcome to the community!
I'm happy to help you set this up. Can you share a few more details about your issue? Here are a few things that could help:
- Did you generate your token from inside the Data Blaze dashboard (clicking the three dots next to your Space name > API Tokens)?
- In your code, how are you sending the token? Data Blaze requires the header to be: 'Authorization': 'Token YOUR_KEY_HERE'.
- When you created the token in Data Blaze, did you check the boxes for Create and Update? If the token is "Read Only" but your script is trying to write data, it might throw a permission error.
Feel free to email me at alexander@blaze.today if you want to share additional details or schedule a troubleshooting call.
Best regards,
Alexander
Hi Alexander,
Answers to your questions:
- yes
- like that
- yes
I went through the code with a fine toothcomb and it was level 8 error, i.e. naming issue from my end. Sorry about that. Feeling dum now 
Hi,
Glad to hear it's working now! Don't hesitate to reach out if you have any questions down the line.
Best regards,
Alexander