Skip to content

Commit

Permalink
Add a FAQ section in README.md
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
tnsetting2023 committed Nov 28, 2023
1 parent e1ca508 commit 0852c3e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,3 +246,14 @@ You can read package [documentation on pkg.go.dev](https://pkg.go.dev/github.com
This repository supports `go mod` and follows [Go version
semantics](https://go.dev/doc/modules/version-numbers). Note that v0.x.x
releases do not guarantee API stability.

## FAQ

#### What does it mean when I get "error: vehicle rejected request: your public key has not been paired with the vehicle" ?

Your public key needs to be paired with vehicle first so the commands signed with your private key can be verified on the vehicles. Please refer to [Distributing your public key](#distributing-your-public-key) section for more details.

#### How to resolve "Unauthorized missing scopes" error?

The token that is being provided does not have the required [scopes](https://developer.tesla.com/docs/fleet-api#authorization-scopes) for the current resource. To resolve this issue, you need to ask the user revoke the consent first. After that, you need to ask for a new consent with the right scopes. If previous consent is not revoked, the later consents would not change the scopes.
Note: If previous consent is not revoked, the later consents would not change the scopes.

0 comments on commit 0852c3e

Please sign in to comment.