# Running into error while demoing Rapyd on Java

**URL:** https://community.rapyd.net/t/running-into-error-while-demoing-rapyd-on-java/58265
**Category:** 🙋🏽‍♀️🙋🏽‍♂️ Ask Questions
**Tags:** payment-gateway, java
**Created:** [December 28, 2022, 5:12am UTC](https://community.rapyd.net/t/running-into-error-while-demoing-rapyd-on-java/58265 "2022-12-28T05:12:06Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)
#### Post date: [December 28, 2022, 5:35pm UTC](https://community.rapyd.net/t/running-into-error-while-demoing-rapyd-on-java/58265/2 "2022-12-28T17:35:35Z")

</div>

Thanks @Main_Method, here are some tips regarding the error:

The error response mentions two things:

1. All spaces and other whitespace outside of strings must be removed.
2. Numbers should be sent in strings, not as integers/numbers with decimal points.

Here are some resources that may help:

- [Rapyd API Request Signatures and How to Calculate](https://community.rapyd.net/t/rapyd-api-request-signatures-and-how-to-calculate/1256)
- [Verify Webhook Signature? - #2 by Minh\_Nguy\_n\_Van](https://community.rapyd.net/t/verify-webhook-signature/1383/2)
- [How to verify Webhook Signature with PHP script](https://community.rapyd.net/t/how-to-verify-webhook-signature-with-php-script/1382)
- [Rapyd Integrations: How to Integrate Checkout into your Online Shopping Cart using Python - YouTube](https://youtu.be/yL5TK4JfP7s)
- ["error\_create\_payment" error message coming when I try to place an order on hosted checkout page - #2 by tanoojoy](https://community.rapyd.net/t/error-create-payment-error-message-coming-when-i-try-to-place-an-order-on-hosted-checkout-page/311/2)

I would also take a look around your body string, and and how it may not be parsed correctly.

---

_[View the full topic](https://community.rapyd.net/t/running-into-error-while-demoing-rapyd-on-java/58265)._
