# How to solve The JWT string must have two dots.

**URL:** <https://forum.shopware.com/t/how-to-solve-the-jwt-string-must-have-two-dots/61907>\
**Category:** Shopware Playground - API first Sandbox (EN)\
**Created:** [21. September 2019 um 10:34 UTC](https://forum.shopware.com/t/how-to-solve-the-jwt-string-must-have-two-dots/61907 "2019-09-21T10:34:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Artsakh](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@Artsakh](https://forum.shopware.com/u/Artsakh)\
**Post date:** [27. März 2020 um 11:47 UTC](https://forum.shopware.com/t/how-to-solve-the-jwt-string-must-have-two-dots/61907/4 "2020-03-27T11:47:25Z")

</div>

I have also the same problem.  
I am calling the API with curl like this:

curl -H „Authorization: Bearer TGx4cUwyQjJUbzVMMHZBWjBmUkQ3WUtGenVsSjU1Zk9Gb25IMEY“ -H „Content-Type: application/json“ [https://localhost/api/v1/product](https://localhost/api/v1/product) -k

Whereas the passed Bearer token I got from&nbsp;[http://localhost/admin#/](http://localhost/admin#/)&nbsp;and then Settings-\>System-\>Integrations (Secret access key)

---

_[View the full topic](https://forum.shopware.com/t/how-to-solve-the-jwt-string-must-have-two-dots/61907)._
