localStorage.getItem is not a function

Hi @Cy_To

Thanks for reaching out! .getItem is not supported. You can set localStorage by using our GUI in event handlers or by using Javascript and .setValue.

After that, you can reference the saved value by returning localStorage.values[key-name-here]

Here's an example:

1) Set the value from your API query:

2) Since I've stored the value in localStorage under accessToken, I can now reference it with: localStorage.values.accessToken in a query:

Hope this helps!