harvesthq / platform

A whole new way to add time tracking to your web application.
https://www.getharvest.com/platform
59 stars 11 forks source link

`SyntaxError: The string did not match the expected pattern.` #70

Closed romainmenke closed 6 months ago

romainmenke commented 6 months ago

Seeing errors with message : SyntaxError: The string did not match the expected pattern. in Safari.

Screenshot 2024-01-02 at 10 43 19

Sorry for the screenshot and not providing a text version of the stacktrace. Safari doesn't make it possible to copy/paste stacktraces as text.


The error happens in

  if (accessToken && accountId) {
    postCredentialsToChromeExtension(accessToken, accountId)
  }

Which seems logical because Safari won't have any chrome extensions 😅

pusewicz commented 6 months ago

Thanks @romainmenke, we're going to look into this!

romainmenke commented 6 months ago

Hi @pusewicz,

Was this fixed and if so was that fix already deployed?

It is still broken on my end with the same error.

pusewicz commented 6 months ago

@romainmenke We pushed one more change that should address this. Would you mind giving it a go?

romainmenke commented 6 months ago

It is working again! Thank you so much :)