Replies: 4 comments
-
I also add that the same happens when trying to create a card. |
Beta Was this translation helpful? Give feedback.
-
To temporarily solve it, I had to create a class that inherits from Client and override the create method, changing only the line that sends the request. |
Beta Was this translation helpful? Give feedback.
-
Hello @danybayer Could you give more details on the solution so we could fix it? |
Beta Was this translation helpful? Give feedback.
-
The solution I implemented is to create a class that inherits from CustomerClient and override the create method, and in the line where it is sent, I added the requestOptions as the second parameter. Below, I include that method. `@Repository private static final Logger LOGGER = Logger.getLogger(CustomCustomerClient.class.getName()); public CustomCustomerClient() { @OverRide
} |
Beta Was this translation helpful? Give feedback.
-
When I try to create a customer and use requestOptions, it returns a 401 unauthorized.
Beta Was this translation helpful? Give feedback.
All reactions