Hello @alexandrofrisone
If you need assistance with such questions, you’ll need to provide all the information about HOW you are doing that, with WHAT endpoint, samples of your code, what different approaches you’ve tried etc etc.
Refer to the How to ask a good question thread for a good overview of best practice.