Steps:
Run any script with observatory enabled
Open observatory link from terminal
See error: missing or invalid authentication code
dart –version
Dart VM version: 2.3.0-dev.0.3 (Tue Apr 23 12:02:59 2019 -0700) on “windows_x64”
Windows 10 64-bit
Is this fix in the latest version of the Dart SDK? I just installed from homebrew a few hours ago, and am running into the same issue.
To be more specific – I get this error regardless of whether the trailing slash is present.
EDIT: Never mind, figured it out. The
=
at the end of the URL wasn’t getting picked up by my terminal, so I was actually going to the wrong URL.vscode terminal was stripping off the last = character and failing for me.