1

Recently we have upgraded from Magento 2.2.2 commerce to Magento 2.2.8 commerce

In the latest version we are facing issue with /V1/customers/me REST api call. This call not return the correct user details. The model function not even called some time though we change the customer token values.

Looks like this method cached somewhere and returns different results for different users.

Anybody faced this kind of issue?

4
  • Please check the token of the customer. Apr 25, 2019 at 15:08
  • token is different for every customer. It not even hitting the function for every request
    – seeni
    Apr 25, 2019 at 15:13
  • Yeah of-cause it is different, I am saying that please regenerate that specific customer's token and check the values of customer/me API and compare it with Database. Apr 25, 2019 at 15:15
  • yes both are same. Issue here is it not even accessing the function every time. It works fine in local. Issue occurs in our staging environment. But 2.2.2 version magento staging we don't have this issue.
    – seeni
    Apr 25, 2019 at 15:26

1 Answer 1

0

This issue is due to the Varnish. When we disable varnish and check, this issue is not happened.

But we are still clueless why this GET method alone having this issue, other GET methods works fine with Varnish.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.