Skip to content

Bad request #55

@Rajdev2011

Description

@Rajdev2011

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions