chore: add more content to use cases and troubleshooting
This commit is contained in:
parent
9c11e3883a
commit
b7614eeea9
9 changed files with 282 additions and 297 deletions
|
|
@ -4,16 +4,18 @@ Sometimes, things don't always work out as we would expect them to when trying t
|
|||
|
||||
### Certificate and TLS Errors
|
||||
|
||||
|
||||
|
||||
### Cannot Make Request to Service
|
||||
|
||||
#### Access Token Errors
|
||||
|
||||
When making a request, if you receive errors related to the access, there are a few things you may want to check.
|
||||
Errors that deny you access should usually have a clear indication that the appropriate variable is not set or your access token has expired. If you receive these kinds of related errors, there are a few things you may want to check.
|
||||
|
||||
1. If you're making requests using the `ochami` CLI to services like SMD, make sure that the `ACCESS_TOKEN` environment variable is set.
|
||||
2. If you're
|
||||
1. If you're making requests using the `ochami` CLI to services like SMD, make sure that the `<name>_ACCESS_TOKEN` environment variable is set.
|
||||
2. If you're making requests using `curl` to services like SMD, make sure that you are including the `Authorization` header in your request.
|
||||
|
||||
```bash
|
||||
curl https://demo.openchami.cluster:8443/hsm/v2/Inventory/EthernetInterfaces -H "Authorization: Bearer $ACCESS_TOKEN"
|
||||
```
|
||||
|
||||
### Cannot Discover Nodes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue