# User\_metadata.recaptcha value is too long (max length: 500)

**URL:** <https://community.auth0.com/t/user-metadata-recaptcha-value-is-too-long-max-length-500/56415>\
**Category:** Get Help\
**Tags:** auth0js, hooks\
**Created:** [January 19, 2021, 1:32am UTC](https://community.auth0.com/t/user-metadata-recaptcha-value-is-too-long-max-length-500/56415 "2021-01-19T01:32:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![skyler.sorensen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/skyler.sorensen/32/27018_2.png) [@skyler.sorensen](https://community.auth0.com/u/skyler.sorensen)\
**Post date:** [January 19, 2021, 1:32am UTC](https://community.auth0.com/t/user-metadata-recaptcha-value-is-too-long-max-length-500/56415/1 "2021-01-19T01:32:04Z")

</div>

I’ve implemented recaptcha v3 with my web application by attaching the recaptcha token to the user\_metadata on sign up and login flows. I then pick it up with a pre-registration hook and handle it from there. It was working for nearly a year and I just had a bug reported saying it isn’t working. I took a look into it and now it’s returning a 400 error code with the message: “user\_metadata.recaptcha value is too long (max length: 500)”

Is there any way around this? I’m using a custom login page and auth0-js. I saw that version 9.14 added the ability to use recaptcha on the signup and login flows but I would have to upgrade to an enterprise account to turn on the bot protection.

Does anyone have any solutions that have worked for them? I would love to stick with recaptcha v3 because of how little it intrudes on the UX.

---

<div class="post-metadata">

**Author:** ![sidharth.chaudhary](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sidharth.chaudhary/32/20686_2.png) [@sidharth.chaudhary](https://community.auth0.com/u/sidharth.chaudhary)\
**Post date:** [January 19, 2021, 2:45am UTC](https://community.auth0.com/t/user-metadata-recaptcha-value-is-too-long-max-length-500/56415/2 "2021-01-19T02:45:25Z")

</div>

Hey @skyler.sorensen, Welcome to the Auth0 community!

this error is appearing because of the following limitation:

> **[Metadata Field Names and Data Types](https://auth0.com/docs/manage-users/user-accounts/metadata/metadata-fields-data)**
>
> Describes user metadata, app metadata, and application (client) metadata field names, data types, and limitations and restrictions.

Metadata is allowed 10 strings with max 500 chars. May be you can breakdown the recaptcha into multiple strings?

Regards,  
Sid

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 28, 2021, 3:56pm UTC](https://community.auth0.com/t/user-metadata-recaptcha-value-is-too-long-max-length-500/56415/3 "2021-01-28T15:56:22Z")

</div>


