[DOCS]: Regex for title validation used in createDraftListing
isn't enough.
#709
Replies: 4 comments
-
@SrdjanPaunovic We aren't able to debug this without some more info. First, what is the title you are attempting to set? |
Beta Was this translation helpful? Give feedback.
-
1.ExampleTitle: Èxample titlé 2.ExampleTilte: AD AD AD AD In documentation we only have this regex: /[^\p{L}\p{Nd}\p{P}\p{Sm}\p{Zs}™©®]/u which is not covering every situation you validating on your site. |
Beta Was this translation helpful? Give feedback.
-
@SrdjanPaunovic We are still tracking this for a resolution. We are closing the issues board in favor of the discussions board, so I'll convert this now to a new discussion. |
Beta Was this translation helpful? Give feedback.
-
@etsyachristensen - Thank you for transferring my issue to a discussion topic. Issue #622 also included changes for API endpoints that returned an array rather than a JSON object. I also requested that the docs clearly state which API endpoints return an array rather than a javascript object. I also suggested that instead of returning an array, it should return something similar to this:
|
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this?
Link to Documentation Issue
https://developer.etsy.com/documentation/reference#operation/createDraftListing
What would you like to change?
Can you provide a valid regex that we can use for title validation on our end? Provided regex in the documentation for
createDraftListing
is not covering everything.Why are you proposing this change?
I am getting errors while calling
createDraftListing
with an irregular title (that I don't know how to validate properly).Beta Was this translation helpful? Give feedback.
All reactions