-
Notifications
You must be signed in to change notification settings - Fork 30
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
Unable to use sandbox environment #11
Comments
@kamajigames You need to give a filepath to your config.json. Like this -
|
Although not depicted in the example code, the "env" configuration parameter ('PRODUCTION' or 'SANDBOX') is required along with clientId, clientSecret, and redirectUri. If it's not specified, the module defaults to "PRODUCTION" which is why it won't work with the sandbox environment. |
@kamajigames have you got the resolution? I am still stuck with the same issue |
Like @NFNChris mentioned try adding "env" to your EbayAuthToken like so:
|
I added clarification on this issue to the Readme, hoping to make it more explicit. I cannot create a pull request as I am not a collaborator. The clarification can be found here. |
Hi there,
When attempting to fetch a token using the sandbox environment, the lib throws an error:
Code I'm using w/ my sandbox creds:
The text was updated successfully, but these errors were encountered: