-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Credential issue and lexical error for invalid character in json text. #42
Comments
does running |
Updated comment above with correct domain name! |
No, I'm still getting the same error. So I did some more work on it today. Plotly REST API, v2 at https://api.plotly.com/v2/?format=api requires a "platform name and an optional version". It lists the following as examples.
I remembered that I updated my version of R. The latest release for R was 2/29/20. So I went back to an old version and this wreaked a different kind of havoc on my code. Now, I'm back to the latest release of R. My code for R is now the following where "p" is a plot rendered with the plotly pkg:
Still getting the same error . . . |
Changed authentication to the following code. This was detailed in the plotly package documentation under "sign up" page 61:
However, the original error was still present with a pointer to the It's working . . . Show the issue as closed! |
I'm glad it's working for you! I'm confused about what you ended up changing that made it work, though, can you clarify please? |
I thought the |
Can't push plot from R using
plot_ly::api_create()
. Get the following error:In addition,
warnings()
produces this console output:These are appearing in spite of me setting environment variables for username and api key. More odd, is that plotly accepted the plot once--not sure why.
The text was updated successfully, but these errors were encountered: