For customer token creationby REST Api,Token is been return unknow format or extra length. In magento 2,Can anyone have any idea why it is return unknow length or so.Please find the below screen shot.For more details.


thanks in adavance.

  • i am getting this error in vendor file of Magento\Integration\Model\CustomerTokenService @ManthanDave – Learing_Coder Apr 2 '18 at 7:05
  • Yup @ManthanDave – Learing_Coder Apr 2 '18 at 7:12
  • no it's giving me the exact token please find the below screen shot. prnt.sc/izlefl – Learing_Coder Apr 2 '18 at 7:26
  • okay got it - show the screenshot of Authorization tab of postman and Headers tab of postman - I am getting token without this additional data string – Manthan Dave Apr 2 '18 at 7:37
  • Header Tab prnt.sc/izm4mj Authorization Tab prnt.sc/izm4t3 – Learing_Coder Apr 2 '18 at 8:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.