Skip to content
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

Bad request #55

Open
Rajdev2011 opened this issue Feb 24, 2021 · 0 comments
Open

Bad request #55

Rajdev2011 opened this issue Feb 24, 2021 · 0 comments

Comments

@Rajdev2011
Copy link

Rajdev2011 commented Feb 24, 2021

GuzzleHttp\Exception\ClientException #400
Client error: POST https://dev-ecomm.myshopify.com/admin/oauth/access_token resulted in a 400 Bad Request response: search

Iam using this package with the codeignetor framework .When iam trying to get the access token iam getting above issue .Below is my code

$api = new Api(array(
'api_key' => SHOPIFY['API_KEY'],
'api_secret' => SHOPIFY['API_SECRET'],
'myshopify_domain' => $this->request->getGet('shop')
));
$helper = $api->getOAuthHelper();

	$token = $helper->getAccessToken($_REQUEST['code']);

Please can you tell me what iam doing wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant