magento / magento/adobe-ims

User profile image cannot be retrieved

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
3
Forks
6
PR merge metrics
No merged PRs in 30d

Description

This issue is a root cause for Adobe Stock Integration issue: https://github.com/magento/adobe-stock-integration/issues/1851

### Preconditions (*)
1. Magento and Adobe IMS are installed
2. API Key is configured for Adobe IMS
3. Have a valid user Access Token

### Steps to reproduce (*)

Initiate a call `\Magento\AdobeIms\Model\GetImage::execute` method to retrieve user profile image

Also, see steps for Adobe Stock Integration issue: https://github.com/magento/adobe-stock-integration/issues/1851

### Expected result (*)
The user profile image is retrieved

### Actual result (*)
The call for user profile image to Behance API ` https://cc-api-behance.adobe.io/v2/users/me?api_key=#{api_key}` is rejected with `403003 Api Key is invalid` error.

Jira ticket: https://jira.corp.magento.com/browse/MC-38529

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Magento\AdobeIms\Model\GetImage::execute method and reproduce the request using the listed Magento, Adobe IMS, API key, and access-token preconditions. Inspect the Behance API response and the related Adobe Stock Integration issue; done means the user profile image request is accepted and the image is retrieved instead of returning 403003.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.