-
Couldn't load subscription status.
- Fork 22
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershacktoberfest
Description
Checklist
- I have looked into the README and have not found a suitable solution or answer.
- I have looked into the documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have upgraded to the latest version of OpenFGA and the issue still persists.
- I have searched the Slack community and have not found a suitable solution or answer.
- I agree to the terms within the OpenFGA Code of Conduct.
Description
When apiURL parameter is not supplied while initializing the OpenFGA client, we get an error message that suggests using deprecated apiHost parameter:
FgaRequiredParamError: Required parameter apiHost was null or undefined when calling Configuration.
Expectation
The error message should be to supply an appropriate apiUrl parameter, NOT the deprecated apiHost parameter.
Reproduction
import { OpenFgaClient } from '@openfga/sdk';
const openFga = new OpenFgaClient();OpenFGA SDK version
0.6.3
OpenFGA version
latest
SDK Configuration
javascript
Logs
No response
References
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershacktoberfest
Type
Projects
Status
Done