Error "An invalid format was used for a fee_id:"

Created by Andy McCutcheon, Modified on Thu, 26 Mar at 10:20 AM by Andy McCutcheon

When creating an item between two users, you may encounter the following error:

"An invalid format was used for a fee_id:"

This error will appear when unnecessary or invalid characters are included in the fee_id of the API call, the most common example of this is an unneeded space or other character at the end of the fee ID. This can happen when incorrectly copying IDs from other code snippets text files.

If any invalid characters are used, you will be returned the following:

Error: {"errors":{"base":["An invalid format was used for a fee_id:AB12345 "]}}%

If you want to verify that fee_id is valid, use the Show Fee API call to verify whether a fee exists given a specific ID.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article